I'm doing:
Code: Select all
vlc -vvv --color v4l:/dev/video0:norm=3:size=640x480:channel=1 \
--sout '#transcode{vcodec=mjpg,vb=700,venc=ffmpeg}:duplicate{
dst=standard{access=http,mux=ts,dst=192.168.0.1:8081},
dst=standard{access=udp,mux=ts,dst=192.168.0.255}
}'
Code: Select all
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 195 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000255] main playlist debug: waiting for thread completion
[00000255] main playlist debug: thread 3081165712 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000256] main private debug: waiting for thread completion
[00000256] main private debug: thread 3072773008 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000257] main interface debug: looking for interface module: 1 candidate
[00000257] main interface debug: using interface module "hotkeys"
[00000257] main interface debug: thread 3064380304 (interface) created at priority 0 (interface/interface.c:231)
[00000259] main interface debug: looking for interface module: 1 candidate
[00000259] main interface debug: using interface module "screensaver"
[00000259] main interface debug: thread 3055987600 (interface) created at priority 0 (interface/interface.c:231)
[00000255] main playlist debug: adding playlist item `v4l:/dev/video0:norm=3:size=640x480:channel=1' ( v4l:/dev/video0:norm=3:size=640x480:channel=1 )
[00000261] main interface debug: looking for interface module: 2 candidates
Remote control interface initialized. Type `help' for help.
[00000261] main interface debug: using interface module "rc"
[00000261] main interface debug: thread 3047594896 (manager) created at priority 0 (interface/interface.c:216)
[00000255] main playlist debug: creating new input thread
[00000263] main input debug: waiting for thread completion
[00000263] main input debug: creating statistics handler
[00000265] main stream output debug: stream=`transcode'
[00000266] main private debug: looking for sout stream module: 1 candidate
[00000265] main stream output debug: stream=`duplicate'
[00000269] main private debug: looking for sout stream module: 1 candidate
[00000269] stream_out_duplicate private debug: creating 'duplicate'
[00000269] stream_out_duplicate private debug: * adding `standard{access=http,mux=ts,dst=192.168.0.1:8081}'
[00000265] main stream output debug: stream=`standard'
[00000271] main private debug: looking for sout stream module: 1 candidate
[00000263] main input debug: thread 3039202192 (input) created at priority 0 (input/input.c:265)
[00000271] main private debug: set sout option: sout-standard-access to http
[00000271] main private debug: set sout option: sout-standard-mux to ts
[00000271] main private debug: set sout option: sout-standard-dst to 192.168.0.1:8081
[00000271] stream_out_standard private debug: creating `http/ts://192.168.0.1:8081'
[00000271] stream_out_standard private debug: extension is 1:8081
[00000271] stream_out_standard private debug: extension -> mux=(null)
[00000271] stream_out_standard private debug: using `http/ts://192.168.0.1:8081'
[00000273] main private debug: looking for sout access module: 1 candidate
[00000273] main private: creating httpd
[00000273] main private debug: net: listening to 192.168.0.1 port 8081
[00000276] main http server debug: thread 3030797200 (httpd host thread) created at priority 0 (network/httpd.c:1078)
[00000273] main private debug: using sout access module "access_output_http"
[00000271] stream_out_standard private debug: access opened
[00000277] main private debug: looking for sout mux module: 1 candidate
[00000277] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000277] main private debug: using sout mux module "mux_ts"
[00000265] main stream output debug: muxer support adding stream at any time
[00000271] stream_out_standard private debug: mux opened
[00000271] main private debug: using sout stream module "stream_out_standard"
[00000269] stream_out_duplicate private debug: * adding `standard{access=udp,mux=ts,dst=192.168.0.255}'
[00000265] main stream output debug: stream=`standard'
[00000278] main private debug: looking for sout stream module: 1 candidate
[00000278] main private debug: set sout option: sout-standard-access to udp
[00000278] main private debug: set sout option: sout-standard-mux to ts
[00000278] main private debug: set sout option: sout-standard-dst to 192.168.0.255
[00000278] stream_out_standard private debug: creating `udp/ts://192.168.0.255'
[00000278] stream_out_standard private debug: extension is 255
[00000278] stream_out_standard private debug: extension -> mux=(null)
[00000278] stream_out_standard private debug: using `udp/ts://192.168.0.255'
[00000279] main private debug: looking for sout access module: 1 candidate
[00000279] main private debug: net: connecting to 192.168.0.255 port 1234
[00000281] main private debug: thread 3017386896 (sout write thread) created at priority 0 (udp.c:268)
[00000279] access_output_udp private debug: udp access output opened(192.168.0.255:1234)
[00000279] main private debug: using sout access module "access_output_udp"
[00000278] stream_out_standard private debug: access opened
[00000282] main private debug: looking for sout mux module: 1 candidate
[00000282] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000282] main private debug: using sout mux module "mux_ts"
[00000265] main stream output debug: muxer support adding stream at any time
[00000278] stream_out_standard private debug: mux opened
[00000278] main private debug: using sout stream module "stream_out_standard"
[00000269] main private debug: using sout stream module "stream_out_duplicate"
status change: ( new input: v4l:/dev/video0:norm=3:size=640x480:channel=1 )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000266] main private debug: set sout option: sout-transcode-vcodec to mjpg
[00000266] main private debug: set sout option: sout-transcode-vb to 700
[00000266] main private debug: set sout option: sout-transcode-venc to ffmpeg
[00000266] stream_out_transcode private debug: codec video=mjpg 0x0 scaling: 1.000000 700kb/s
[00000266] main private debug: using sout stream module "stream_out_transcode"
[00000263] main input debug: `v4l:/dev/video0:norm=3:size=640x480:channel=1' gives access `v4l' demux `' path `/dev/video0:norm=3:size=640x480:channel=1'
[00000263] main input debug: creating demux: access='v4l' demux='' path='/dev/video0:norm=3:size=640x480:channel=1'
[00000283] main demuxer debug: looking for access_demux module: 1 candidate
[00000283] v4l demuxer debug: WxH 640x480
[00000283] v4l demuxer debug: main device=`/dev/video0'
[00000283] v4l demuxer debug: V4L device BT848A video ( *** UNKNOWN/GENE 4 channels 1 audios 48 < w < 640 32 < h < 576
[00000283] v4l demuxer debug: setting channel Composite1(1) 0 tuners flags=0x2 type=0x2 norm=0x3
[00000283] v4l demuxer debug: v4l device uses brightness: 32768
[00000283] v4l demuxer debug: v4l device uses colour: 32768
[00000283] v4l demuxer debug: v4l device uses hue: 32768
[00000283] v4l demuxer debug: v4l device uses contrast: 32768
[00000283] v4l demuxer debug: v4l device uses frame size: 921600
[00000283] v4l demuxer debug: v4l device uses chroma: RV24
[00000283] v4l demuxer error: cannot open audio device (No such file or directory)
[00000283] v4l demuxer debug: v4l grabbing started
[00000283] v4l demuxer debug: added new video es RV24 640x480
[00000263] main input debug: selecting program id=0
[00000283] main demuxer debug: using access_demux module "v4l"
[00000285] main packetizer debug: looking for packetizer module: 17 candidates
[00000285] main packetizer debug: using packetizer module "rawvideo"
[00000285] main packetizer debug: thread 2990283664 (decoder) created at priority 0 (input/decoder.c:159)
[00000263] main input debug: starting in sync mode
[00000263] main input debug: `v4l:/dev/video0:norm=3:size=640x480:channel=1' successfully opened
[00000265] main stream output debug: adding a new input
[00000266] stream_out_transcode private debug: creating video transcoding from fcc=`RV24' to fcc=`mjpg'
[00000296] main decoder debug: looking for decoder module: 22 candidates
[00000296] main decoder debug: using decoder module "rawvideo"
[00000297] main encoder debug: looking for encoder module: 1 candidate
[00000297] ffmpeg encoder debug: libavcodec initialized (interface 3349760 )
[00000297] ffmpeg encoder debug: found encoder Motion JPEG Video
[00000297] main encoder debug: using encoder module "ffmpeg"
[00000297] main encoder debug: removing module "ffmpeg"
[00000266] stream_out_transcode private debug: decoder aspect is 576000:432000
[00000266] stream_out_transcode private debug: source pixel aspect is 1.000000:1
[00000266] stream_out_transcode private debug: scaled pixel aspect is 1.000000:1
[00000266] stream_out_transcode private debug: source 640x480, crop 640x480, destination 640x480, padding 640x480
[00000266] stream_out_transcode private debug: encoder aspect is 576000:432000
[00000297] main encoder debug: looking for encoder module: 1 candidate
[00000297] ffmpeg encoder debug: libavcodec already initialized
[00000297] ffmpeg encoder debug: found encoder Motion JPEG Video
[00000297] main encoder debug: using encoder module "ffmpeg"
[00000269] stream_out_duplicate private debug: duplicated a new stream codec=mjpg (es=0 group=0)
[00000277] main private debug: adding a new input
[00000277] mux_ts private debug: adding input codec=mjpg pid=68
[00000277] main private error: cannot add this stream
[00000269] stream_out_duplicate private debug: - failed for output 0
[00000282] main private debug: adding a new input
[00000282] mux_ts private debug: adding input codec=mjpg pid=68
[00000282] main private error: cannot add this stream
[00000269] stream_out_duplicate private debug: - failed for output 1
[00000266] stream_out_transcode private error: cannot add this stream
Other codecs are working fine
Thanks in advance