All pastes #525352 Raw Edit

Unnamed

public text v1 · immutable
#525352 ·published 2007-05-31 10:17 UTC
rendered paste body
single http stream (works):
vlc -vvv v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=3000,ab=256,vt=800000,keyint=80,deinterlace=blend}:std{access=http,mux=ts,url=10.0.0.1:8082}' --ttl 12

single mms/mmsh stream (works):
vlc -vvv v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=DIV3,vb=3000,scale=1,acodec=mp3,ab=256,channels=2}:std{access=mmsh,mux=asfh,dst=:8082}'

combined (not working):
vlc -vvv v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:duplicate{dst=std{access=http,mux=ts,url=10.0.0.1:8082},dst=std{access=mmsh,mux=asfh,dst=:8082}}'

output:
vlc -vvv v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:duplicate{dst=std{access=http,mux=ts,url=10.0.0.1:8082},dst=std{access=mmsh,mux=asfh,dst=:8082}}' -I dummy 
VLC media player 0.8.6 Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /home/funky1/.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 221 modules
[00000001] main private debug: opening config file /home/funky1/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT FPU 
[00000001] main private debug: looking for memcpy module: 1 candidate
[00000001] main private debug: using memcpy module "memcpy"
[00000286] main playlist debug: waiting for thread completion
[00000286] main playlist debug: thread 3079666576 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000287] main private debug: waiting for thread completion
[00000287] main private debug: thread 3071273872 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000288] main interface debug: looking for interface module: 1 candidate
[00000288] main interface debug: using interface module "hotkeys"
[00000288] main interface debug: thread 3062881168 (interface) created at priority 0 (interface/interface.c:231)
[00000290] main interface debug: looking for interface module: 1 candidate
[00000290] main interface debug: using interface module "screensaver"
[00000290] main interface debug: thread 3054488464 (interface) created at priority 0 (interface/interface.c:231)
[00000286] main playlist debug: adding playlist item `v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0' ( v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0 )
[00000292] main interface debug: looking for interface module: 6 candidates
[00000292] dummy interface: using the dummy interface module...
[00000292] main interface debug: using interface module "dummy"
[00000292] main interface debug: thread 3046095760 (manager) created at priority 0 (interface/interface.c:216)
[00000286] main playlist debug: creating new input thread
[00000301] main input debug: waiting for thread completion
[00000301] main input debug: thread 3037703056 (input) created at priority 0 (input/input.c:265)
[00000301] main input debug: creating statistics handler
[00000303] main stream output debug: stream=`transcode'
[00000304] main private debug: looking for sout stream module: 1 candidate
[00000303] main stream output debug: stream=`duplicate'
[00000307] main private debug: looking for sout stream module: 1 candidate
[00000307] stream_out_duplicate private debug: creating 'duplicate'
[00000307] stream_out_duplicate private debug:  * adding `std{access=http,mux=ts,url=10.0.0.1:8082}'
[00000303] main stream output debug: stream=`std'
[00000309] main private debug: looking for sout stream module: 1 candidate
[00000309] main private debug: set sout option: sout-standard-access to http
[00000309] main private debug: set sout option: sout-standard-mux to ts
[00000309] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead.
[00000309] main private debug: set sout option: sout-standard-dst to 10.0.0.1:8082
[00000309] stream_out_standard private debug: creating `http/ts://10.0.0.1:8082'
[00000309] stream_out_standard private debug: extension is 1:8082
[00000309] stream_out_standard private debug: extension -> mux=(null)
[00000309] stream_out_standard private debug: using `http/ts://10.0.0.1:8082'
[00000311] main private debug: looking for sout access module: 1 candidate
[00000311] main private: creating httpd
[00000311] main private debug: net: listening to 10.0.0.1 port 8082
[00000314] main http server debug: thread 3029027728 (httpd host thread) created at priority 0 (network/httpd.c:1078)
[00000311] main private debug: using sout access module "access_output_http"
[00000309] stream_out_standard private debug: access opened
[00000315] main private debug: looking for sout mux module: 1 candidate
[00000315] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000315] main private debug: using sout mux module "mux_ts"
[00000303] main stream output debug: muxer support adding stream at any time
[00000309] stream_out_standard private debug: mux opened
[00000309] main private debug: using sout stream module "stream_out_standard"
[00000307] stream_out_duplicate private debug:  * adding `std{access=mmsh,mux=asfh,dst=:8082}'
[00000303] main stream output debug: stream=`std'
[00000316] main private debug: looking for sout stream module: 1 candidate
[00000316] main private debug: set sout option: sout-standard-access to mmsh
[00000316] main private debug: set sout option: sout-standard-mux to asfh
[00000316] main private debug: set sout option: sout-standard-dst to :8082
[00000316] stream_out_standard private debug: creating `mmsh/asfh://:8082'
[00000316] stream_out_standard private debug: using `mmsh/asfh://:8082'
[00000317] main private debug: looking for sout access module: 1 candidate
[00000317] main private debug: net: listening to  port 8082
[00000317] main private error: cannot bind socket (Address already in use)
[00000318] main http server debug: thread 3015633808 (httpd host thread) created at priority 0 (network/httpd.c:1078)
[00000317] main private debug: using sout access module "access_output_http"
[00000316] stream_out_standard private debug: access opened
[00000319] main private debug: looking for sout mux module: 1 candidate
[00000319] mux_asf private debug: asf muxer opened
[00000319] mux_asf private debug: creating asf stream to be used with mmsh
[00000319] mux_asf private debug: Packet size 4096
[00000319] mux_asf private debug: meta data: title='', author='', copyright='', comment='', rating=''
[00000319] main private debug: using sout mux module "mux_asf"
[00000303] main stream output debug: muxer support adding stream at any time
[00000303] main stream output debug: muxer prefers to wait for all ES before starting to mux
[00000316] stream_out_standard private debug: mux opened
[00000316] main private debug: using sout stream module "stream_out_standard"
[00000307] main private debug: using sout stream module "stream_out_duplicate"
[00000304] main private debug: set sout option: sout-transcode-vcodec to mp4v
[00000304] main private debug: set sout option: sout-transcode-acodec to mpga
[00000304] main private debug: set sout option: sout-transcode-vb to 800
[00000304] main private debug: set sout option: sout-transcode-ab to 128
[00000304] stream_out_transcode private debug: codec audio=mpga 0Hz 0 channels 128Kb/s
[00000304] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 1.000000 800kb/s
[00000304] main private debug: using sout stream module "stream_out_transcode"
[00000301] main input debug: `v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0' gives access `v4l' demux `' path `/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0'
[00000301] main input debug: creating demux: access='v4l' demux='' path='/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0'
[00000321] main demuxer debug: looking for access_demux module: 1 candidate
[00000321] v4l demuxer debug: WxH 320x240
[00000321] v4l demuxer debug: main device=`/dev/video0'
[00000321] v4l demuxer debug: V4L device BT878 video (Hauppauge (bt878)) 4 channels 1 audios 48 < w < 924 32 < h < 576
[00000321] v4l demuxer debug: setting channel Television(0) 1 tuners flags=0x3 type=0x1 norm=0x0
[00000321] v4l demuxer debug: frequency 767250 (12276)
[00000321] v4l demuxer debug: v4l device uses brightness: 32768
[00000321] v4l demuxer debug: v4l device uses colour: 32768
[00000321] v4l demuxer debug: v4l device uses hue: 32768
[00000321] v4l demuxer debug: v4l device uses contrast: 32768
[00000321] v4l demuxer debug: v4l device uses frame size: 153600
[00000321] v4l demuxer debug: v4l device uses chroma: I422
[00000321] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz
[00000321] v4l demuxer debug: v4l grabbing started
[00000321] v4l demuxer debug: added new video es I422 320x240
[00000301] main input debug: selecting program id=0
[00000321] v4l demuxer debug: new audio es 2 channels 44100Hz
[00000321] main demuxer debug: using access_demux module "v4l"
[00000323] main packetizer debug: looking for packetizer module: 17 candidates
[00000323] main packetizer debug: using packetizer module "rawvideo"
[00000323] main packetizer debug: thread 2982382480 (decoder) created at priority 0 (input/decoder.c:159)
[00000337] main packetizer debug: looking for packetizer module: 17 candidates
[00000337] main packetizer debug: using packetizer module "packetizer_copy"
[00000337] main packetizer debug: thread 2973899664 (decoder) created at priority 0 (input/decoder.c:159)
[00000301] main input debug: starting in sync mode
[00000301] main input debug: `v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0' successfully opened
[00000303] main stream output debug: adding a new input
[00000304] stream_out_transcode private debug: creating video transcoding from fcc=`I422' to fcc=`mp4v'
[00000355] main decoder debug: looking for decoder module: 24 candidates
[00000303] main stream output debug: adding a new input
[00000355] main decoder debug: using decoder module "rawvideo"
[00000356] main encoder debug: looking for encoder module: 8 candidates
[00000356] ffmpeg encoder debug: libavcodec initialized (interface 3345152 )
[00000356] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000356] main encoder debug: using encoder module "ffmpeg"
[00000356] main encoder debug: removing module "ffmpeg"
[00000304] stream_out_transcode private debug: creating audio transcoding from fcc=`s16l' to fcc=`mpga'
[00000375] main decoder debug: looking for decoder module: 24 candidates
[00000375] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16
[00000375] main decoder debug: using decoder module "araw"
[00000376] main encoder debug: looking for encoder module: 8 candidates
[00000376] ffmpeg encoder debug: libavcodec already initialized
[00000376] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2
[00000376] main encoder debug: using encoder module "ffmpeg"
[00000307] stream_out_duplicate private debug: duplicated a new stream codec=mpga (es=1 group=0)
[00000315] main private debug: adding a new input
[00000315] mux_ts private debug: adding input codec=mpga pid=68
[00000315] mux_ts private debug: new PCR PID is 68
[00000307] stream_out_duplicate private debug:     - added for output 0
[00000319] main private debug: adding a new input
[00000319] mux_asf private debug: adding input
[00000319] mux_asf private debug: adding mp3 header
[00000307] stream_out_duplicate private debug:     - added for output 1
[00000315] main private warning: late buffer for mux input (1035664)
[00000319] main private warning: late buffer for mux input (1035702)
[00000315] main private warning: late buffer for mux input (1010184)
[00000319] main private warning: late buffer for mux input (1010257)
[00000315] main private warning: late buffer for mux input (984932)
[00000319] main private warning: late buffer for mux input (985059)
[00000315] main private warning: late buffer for mux input (958969)
[00000319] main private warning: late buffer for mux input (958991)
[00000304] stream_out_transcode private debug: late picture skipped (913823)
[00000304] stream_out_transcode private debug: decoder aspect is 576000:432000
[00000304] stream_out_transcode private debug: source pixel aspect is 1.000000:1
[00000304] stream_out_transcode private debug: scaled pixel aspect is 1.000000:1
[00000304] stream_out_transcode private debug: source 320x240, crop 320x240, destination 320x240, padding 320x240
[00000304] stream_out_transcode private debug: encoder aspect is 576000:432000
[00000356] main encoder debug: looking for encoder module: 8 candidates
[00000356] ffmpeg encoder debug: libavcodec already initialized
[00000356] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000356] main encoder debug: using encoder module "ffmpeg"
[00000307] stream_out_duplicate private debug: duplicated a new stream codec=mp4v (es=0 group=0)
[00000315] main private debug: adding a new input
[00000315] mux_ts private debug: adding input codec=mp4v pid=69
[00000315] mux_ts private debug: new PCR PID is 69
[00000307] stream_out_duplicate private debug:     - added for output 0
[00000319] main private debug: adding a new input
[00000319] mux_asf private debug: adding input
[00000307] stream_out_duplicate private debug:     - added for output 1
[00000377] main private debug: looking for crop padd module: 1 candidate
[00000377] ffmpeg private debug: input: 320x240 I422 -> 320x240 I420
[00000377] ffmpeg private debug: libavcodec already initialized
[00000377] main private debug: using crop padd module "ffmpeg"
[00000315] main private warning: late buffer for mux input (117648)
[00000319] main private warning: late buffer for mux input (291544)
[00000319] mux_asf private debug: Asf muxer creating header
[00000319] mux_asf private debug: pixel aspect-ratio: 1/1
[00000315] main private warning: late buffer for mux input (1713934)
[00000319] main private warning: late buffer for mux input (1714009)
[00000315] main private warning: late buffer for mux input (54424)
[00000319] main private warning: late buffer for mux input (54451)
[00000315] main private warning: late buffer for mux input (29564)
[00000319] main private warning: late buffer for mux input (29600)
[00000315] main private warning: late buffer for mux input (3498)
[00000319] main private warning: late buffer for mux input (3513)
[00000315] mux_ts private debug: adjusting rate at -1524976/829634 (5/181)
[00000315] mux_ts private debug: adjusting rate at 1524976/2354610 (139/42)
[00000315] mux_ts private debug: adjusting rate at 0/829634 (16/26)
[00000315] mux_ts private debug: adjusting rate at 0/829634 (12/14)
[00000315] mux_ts private debug: adjusting rate at 0/829634 (7/7)
[00000315] mux_ts private debug: adjusting rate at 0/829634 (6/1)
[00000314] main http server debug: Connection from 10.0.0.1
[00000314] main http server debug: Connection from 10.0.0.1
[00000314] main http server debug: Connection from 10.0.0.1
[00000314] main http server debug: Connection from 10.0.0.1
[00000314] main http server debug: Connection from 10.0.0.1
[00000314] main http server debug: Connection from 10.0.0.1
signal 2 received, terminating vlc - do it again in case it gets stuck
[00000001] main private debug: removing all interfaces
[00000292] main interface debug: thread 3046095760 joined (interface/interface.c:258)
[00000292] main interface debug: removing module "dummy"
[00000290] main interface debug: thread 3054488464 joined (interface/interface.c:258)
[00000290] main interface debug: removing module "screensaver"
[00000288] main interface debug: thread 3062881168 joined (interface/interface.c:258)
[00000288] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000287] main private debug: thread 3071273872 joined (playlist/playlist.c:247)
[00000301] main input debug: control type=0
[00000301] main input debug: control: stopping input
[00000301] main input debug: closing input
[00000321] main demuxer debug: removing module "v4l"
[00000323] main packetizer debug: removing module "rawvideo"
[00000323] main packetizer debug: thread 2982382480 joined (input/decoder.c:191)
[00000323] main packetizer debug: killing decoder fourcc `I422', 1 PES in FIFO
[00000303] main stream output debug: removing an input
[00000355] main decoder debug: removing module "rawvideo"
[00000356] main encoder debug: removing module "ffmpeg"
[00000377] main private debug: removing module "ffmpeg"
[00000315] mux_ts private debug: removing input pid=69
[00000315] mux_ts private debug: new PCR PID is 68
[00000319] mux_asf private debug: removing input
[00000337] main packetizer debug: removing module "packetizer_copy"
[00000337] main packetizer debug: thread 2973899664 joined (input/decoder.c:191)
[00000337] main packetizer debug: killing decoder fourcc `araw', 0 PES in FIFO
[00000303] main stream output debug: removing an input
[00000375] main decoder debug: removing module "araw"
[00000376] main encoder debug: removing module "ffmpeg"
[00000315] mux_ts private debug: removing input pid=68
[00000315] mux_ts private debug: new PCR PID is 8191
[00000315] main private warning: no more input streams for this mux
[00000319] mux_asf private debug: removing input
[00000319] main private warning: no more input streams for this mux
[00000301] main input debug: destroying sout
[00000304] main private debug: destroying chain... (name=transcode)
[00000307] main private debug: destroying chain... (name=duplicate)
[00000307] stream_out_duplicate private debug: closing a duplication
[00000309] main private debug: destroying chain... (name=std)
[00000315] main private debug: removing module "mux_ts"
[00000314] main http server debug: thread 3029027728 joined (network/httpd.c:1134)
[00000314] main http server debug: HTTP host removed
[00000311] access_output_http private debug: Close
[00000311] main private debug: removing module "access_output_http"
[00000309] main private debug: removing module "stream_out_standard"
[00000309] main private debug: destroying chain done
[00000316] main private debug: destroying chain... (name=std)
[00000319] mux_asf private debug: Asf muxer closed
[00000317] access_output_http private warning: HTTP sout access cannot seek
[00000319] main private debug: removing module "mux_asf"
[00000318] main http server debug: thread 3015633808 joined (network/httpd.c:1134)
[00000318] main http server debug: HTTP host removed
[00000313] main http server debug: no host left, stopping httpd
[00000317] access_output_http private debug: Close
[00000317] main private debug: removing module "access_output_http"
[00000316] main private debug: removing module "stream_out_standard"
[00000316] main private debug: destroying chain done
[00000307] main private debug: removing module "stream_out_duplicate"
[00000307] main private debug: destroying chain done
[00000304] main private debug: removing module "stream_out_transcode"
[00000304] main private debug: destroying chain done
[00000301] main input debug: thread 3037703056 joined (input/input.c:412)
[00000286] main playlist debug: thread 3079666576 joined (playlist/playlist.c:248)
[00000286] main playlist: stopping playback
[00000286] main playlist debug: deleting playlist item `v4l:/dev/video0:norm=pal:frequency=767250:size=320x240:channel=0:adev=/dev/dsp:audio=0'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpy"
[00000001] main private debug: saving plugins cache file /home/funky1/.vlc/cache/plugins-04041e.dat