# /usr/local/bin/vlc -vvv v4l:/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1 --sout '#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,url=192.168.0.94:80}}' --ttl 12 VLC media player 0.8.1 Janus [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 328 modules [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN [00000000] main root debug: libvlc was configured with ./configure --enable-v4l --with-ffmpeg-tree=/home/usr.local/src/ffmpeg-20041113 --with-wx-config-path=/home/usr.local/src/wxWidgets [00000001] main vlc debug: translation test: code is "C" [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 328 modules [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU [00000001] main vlc debug: looking for memcpy module [00000001] main vlc debug: probing 5 candidates [00000010] main module debug: using memcpy module "memcpymmxext" [00000401] main playlist debug: creating group Normal with id 1 at position 0 [00000401] main playlist debug: waiting for thread completion [00000401] main playlist debug: thread -153220176 (playlist) created at priority 0 (src/playlist/playlist.c:107) [00000402] main interface debug: looking for interface module [00000402] main interface debug: probing 2 candidates [00000104] main module debug: using interface module "hotkeys" [00000402] main interface debug: interface initialized [00000402] main interface debug: thread -163710032 (interface) created at priority 0 (src/interface/interface.c:209) [00000401] main playlist debug: adding playlist item `v4l:/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1' ( v4l:/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1 ) [00000404] main interface debug: looking for interface module [00000404] main interface debug: probing 4 candidates [00000404] skins2 interface debug: Using character encoding: UTF-8 [00000407] main dialogs provider debug: looking for dialogs provider module [00000407] main dialogs provider debug: probing 0 candidates [00000407] main dialogs provider error: no dialogs provider module matched "any" [00000404] skins2 interface error: No suitable dialogs provider found [00000404] skins2 interface debug: Cannot open directory /root/.vlc/skins2 [00000404] skins2 interface debug: found skin share/skins2/default.vlt [00000404] skins2 interface debug: found skin /usr/local/share/vlc/skins2/default.vlt [00000147] main module debug: using interface module "skins2" [00000404] main interface debug: interface initialized [00000404] main interface debug: thread 27065264 (manager) created at priority 0 (src/interface/interface.c:194) [00000404] skins2 interface debug: Using skin file: /tmp/vltf2rvaK/theme.xml [00000404] skins2 interface debug: Using catalog share/skins2/skin.catalog [00000404] skins2 interface debug: Using DTD share/skins2/skin.dtd [00000404] skins2 interface: skin: VLC OSX Interface author: BigBen [00000404] skins2 interface debug: Unable to open the font /root/.vlc/skins2/fonts/FreeSans.ttf [00000404] skins2 interface debug: Loading font share/skins2/fonts/FreeSans.ttf [00000404] skins2 interface debug: Loading font /tmp/vltf2rvaK/FreeSansBold.ttf [00000404] skins2 interface debug: Loading font /tmp/vltf2rvaK/FreeSansBold.ttf [00000404] skins2 interface debug: Loading theme configuration [00000401] main playlist debug: creating new input thread [00000408] main input debug: waiting for thread completion [00000409] main stream output debug: stream=`transcode' [00000410] main private debug: looking for sout stream module [00000410] main private debug: probing 2 candidates [00000409] main stream output debug: stream=`duplicate' [00000413] main private debug: looking for sout stream module [00000413] main private debug: probing 2 candidates [00000413] stream_out_duplicate private debug: creating 'duplicate' [00000413] stream_out_duplicate private debug: * adding `std{access=http,mux=ts,url=192.168.0.94:80}' [00000409] main stream output debug: stream=`std' [00000415] main private debug: looking for sout stream module [00000415] main private debug: probing 2 candidates [00000415] main private debug: set sout option: sout-standard-access to http [00000415] main private debug: set sout option: sout-standard-mux to ts [00000415] main private debug: set sout option: sout-standard-url to 192.168.0.94:80 [00000415] stream_out_standard private debug: creating `http/ts://192.168.0.94:80' [00000415] stream_out_standard private debug: extention is 94:80 [00000415] stream_out_standard private debug: extention -> mux=(null) [00000415] stream_out_standard private debug: using `http/ts://192.168.0.94:80' [00000417] main private debug: looking for sout access module [00000417] main private debug: probing 2 candidates [00000417] main private: creating httpd [00000420] main private debug: thread 99527600 (httpd host thread) created at priority 0 (src/misc/httpd.c:1170) [00000035] main module debug: using sout access module "access_output_http" [00000415] stream_out_standard private debug: access opened [00000421] main private debug: looking for sout mux module [00000421] main private debug: probing 2 candidates [00000421] mux_ts private debug: Open [00000421] mux_ts private debug: shaping=200000 pcr=30000 dts_delay=200000 [00000421] mux_ts private debug: invalid csa ck (it must be 16 chars long) [00000139] main module debug: using sout mux module "mux_ts" [00000409] main stream output debug: muxer support adding stream at any time [00000415] stream_out_standard private debug: mux opened [00000176] main module debug: using sout stream module "stream_out_standard" [00000178] main module debug: using sout stream module "stream_out_duplicate" [00000410] main private debug: set sout option: sout-transcode-vcodec to mp4v [00000410] main private debug: set sout option: sout-transcode-vb to 1024 [00000410] main private debug: set sout option: sout-transcode-scale to 1 [00000410] main private debug: set sout option: sout-transcode-acodec to mpga [00000410] main private debug: set sout option: sout-transcode-ab to 192 [00000410] main private debug: set sout option: sout-transcode-channels to 2 [00000410] stream_out_transcode private debug: codec audio=mpga 0Hz 2 channels 192Kb/s [00000410] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 1.000000 1024kb/s [00000177] main module debug: using sout stream module "stream_out_transcode" [00000408] main input debug: `v4l:/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1' gives access `v4l' demux `' path `/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1' [00000408] main input debug: demux2_New: access='v4l' demux='' path='/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1' [00000423] main demuxer debug: looking for access_demux module [00000423] main demuxer debug: probing 2 candidates [00000423] v4l demuxer debug: WxH 640x480 [00000423] v4l demuxer debug: main device=`/dev/video0' [00000423] v4l demuxer debug: V4L device BT878 video (Leadtek WinFast 20 4 channels 1 audios 48 < w < 924 32 < h < 576 [00000423] v4l demuxer debug: invalid audio, falling back with no audio [00000423] v4l demuxer debug: setting channel Television(0) 1 tuners flags=0x3 type=0x1 norm=0x0 [00000423] v4l demuxer debug: frequency 196250 (3140) [00000423] v4l demuxer debug: v4l device uses brightness: 32768 [00000423] v4l demuxer debug: v4l device uses colour: 32768 [00000423] v4l demuxer debug: v4l device uses hue: 32768 [00000423] v4l demuxer debug: v4l device uses contrast: 32768 [00000423] v4l demuxer debug: v4l device uses frame size: 921600 [00000423] v4l demuxer debug: v4l device uses chroma: RV24 [00000423] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz [00000423] v4l demuxer debug: v4l grabbing started [00000423] v4l demuxer debug: added new video es RV24 640x480 [00000408] main input debug: Selecting program id=0 [00000423] v4l demuxer debug: new audio es 2 channels 44100Hz [00000021] main module debug: using access_demux module "v4l" [00000425] main packetizer debug: looking for packetizer module [00000425] main packetizer debug: probing 28 candidates [00000095] main module debug: using packetizer module "rawvideo" [00000425] main packetizer debug: thread 55856048 (decoder) created at priority 0 (src/input/decoder.c:157) [00000433] main packetizer debug: looking for packetizer module [00000433] main packetizer debug: probing 28 candidates [00000408] main input debug: thread 37555120 (input) created at priority 0 (src/input/input.c:228) [00000169] main module debug: using packetizer module "packetizer_copy" [00000433] main packetizer debug: thread 66345904 (decoder) created at priority 0 (src/input/decoder.c:157) [00000408] main input debug: starting in synch mode [00000408] main input debug: `v4l:/dev/video0:norm=pal:frequency=196250:size=640x480:channel=0:adev=/dev/dsp:audio=1' sucessfully opened [00000408] main input debug: control type=1 [00000409] main stream output debug: adding a new input [00000410] stream_out_transcode private debug: creating video transcoding from fcc=`RV24' to fcc=`mp4v' [00000474] main decoder debug: looking for decoder module [00000474] main decoder debug: probing 33 candidates [00000409] main stream output debug: adding a new input [00000094] main module debug: using decoder module "rawvideo" [00000475] main encoder debug: looking for encoder module [00000475] main encoder debug: probing 7 candidates [00000475] ffmpeg encoder debug: libavcodec initialized (interface 4731 ) [00000475] ffmpeg encoder debug: found encoder MPEG-4 Video [00000015] main module debug: using encoder module "ffmpeg" [00000015] main module debug: unlocking module "ffmpeg" [00000410] stream_out_transcode private debug: creating audio transcoding from fcc=`s16l' to fcc=`mpga' [00000487] main decoder debug: looking for decoder module [00000487] main decoder debug: probing 33 candidates [00000487] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16 [00000085] main module debug: using decoder module "araw" [00000488] main encoder debug: looking for encoder module [00000488] main encoder debug: probing 7 candidates [00000488] ffmpeg encoder debug: libavcodec already initialized [00000488] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2 [00000015] main module debug: using encoder module "ffmpeg" [00000413] stream_out_duplicate private debug: duplicated a new stream codec=mpga (es=1 group=0) [00000421] main private debug: adding a new input [00000421] mux_ts private debug: adding input codec=mpga pid=68 [00000421] mux_ts private debug: new PCR PID is 68 [00000413] stream_out_duplicate private debug: - added for output 0 [00000475] main encoder debug: looking for encoder module [00000475] main encoder debug: probing 7 candidates [00000475] ffmpeg encoder debug: libavcodec already initialized [00000475] ffmpeg encoder debug: found encoder MPEG-4 Video [00000015] main module debug: using encoder module "ffmpeg" [00000413] stream_out_duplicate private debug: duplicated a new stream codec=mp4v (es=0 group=0) [00000421] main private debug: adding a new input [00000421] mux_ts private debug: adding input codec=mp4v pid=69 [00000421] mux_ts private debug: new PCR PID is 69 [00000413] stream_out_duplicate private debug: - added for output 0 [00000489] main private debug: looking for video filter2 module [00000489] main private debug: probing 3 candidates [00000489] ffmpeg private debug: input: 640x480 RV24 -> 640x480 I420 [00000489] ffmpeg private debug: libavcodec already initialized [00000017] main module debug: using video filter2 module "ffmpeg" [00000420] main private debug: new connection (192.168.0.83) peek=GET received new request=GET / HTTP/1.1 Host: 192.168.0.94 User-Agent: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN Range: bytes=0- Connection: Close received new request - proto=HTTP - version=1 - msg=3 - url=/ - option name='Host' value='192.168.0.94' - option name='User-Agent' value='VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN' - option name='Range' value='bytes=0-' - option name='Connection' value='Close' sending answer HTTP/1.0 200 OK Content-type: application/octet-stream Cache-Control: no-cache [00000421] mux_ts private debug: adjusting rate at 0/239911 (225/133) [00000421] mux_ts private debug: adjusting rate at 0/239245 (234/142) [00000421] mux_ts private debug: adjusting rate at 39855/238922 (311/103)