sout-rageous (the transcoding headache I have that is)!

*nix specific usage questions
dlmassay

sout-rageous (the transcoding headache I have that is)!

Postby dlmassay » 23 Oct 2005 01:02

A little background first:
VLC-0.8.2 on FC4 (installed rpm via yum w/all dependencies resolved)
All video/audio formats play beautifully.

The problem:

When trying to stream ANY video, I only get the audio portion of the stream (using either VLC or WMP on client machine).

The command:
vlc -vvv test.mpg --sout '#transcode{vcodec=DIV3,acodec=mp3,vb=512,ab=64,channels=2}:std{access=mmsh,mux=asfh,url=:8090}' 2> debug.log

Random thoughts:
This command produces the same results whether its run on FC4 or Windows (audio only... no video). Here's the kicker: if I put in a bogus acodec parameter, the audio portion errors out and the video streams great! Gotta be my 'sout' string, right?

The debug output:
VLC media player 0.8.2 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/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 202 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.2 Janus - (c) 1996-2005 VideoLAN
[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/lib/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 202 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000254] main playlist debug: waiting for thread completion
[00000254] main playlist debug: thread 25869232 (playlist) created at priority 0 (src/playlist/playlist.c:152)
[00000255] main private debug: waiting for thread completion
[00000255] main private debug: thread 113241008 (preparser) created at priority 0 (src/playlist/playlist.c:174)
[00000256] main interface debug: looking for interface module: 1 candidate
[00000078] main module debug: using interface module "hotkeys"
[00000256] main interface debug: interface initialized
[00000256] main interface debug: thread 36359088 (interface) created at priority 0 (src/interface/interface.c:211)
[00000254] main playlist debug: adding playlist item `test.mpg' ( test.mpg )
[00000258] main interface debug: looking for interface module: 4 candidates
[00000032] main module debug: using interface module "wxwindows"
[00000258] main interface debug: interface initialized
[00000258] main interface debug: thread 46848944 (manager) created at priority 0 (src/interface/interface.c:196)
[00000258] wxwindows interface debug: Using last windows config '(-1,0,0,800,600)(0,165,82,399,104)'
[00000258] wxwindows interface debug: id=0 p=(165,82) s=(399,104)
[00000254] main playlist debug: nothing requested, starting
[00000254] main playlist debug: creating new input thread
[00000261] main input debug: waiting for thread completion
[00000261] main input debug: thread 98593712 (input) created at priority 0 (src/input/input.c:230)
[00000262] main stream output debug: stream=`transcode'
[00000263] main private debug: looking for sout stream module: 1 candidate
[00000262] main stream output debug: stream=`std'
[00000266] main private debug: looking for sout stream module: 1 candidate
[00000266] main private debug: set sout option: sout-standard-access to mmsh
[00000266] main private debug: set sout option: sout-standard-mux to asfh
[00000266] main private debug: set sout option: sout-standard-url to :8090
[00000266] stream_out_standard private debug: creating `mmsh/asfh://:8090'
[00000266] stream_out_standard private debug: using `mmsh/asfh://:8090'
[00000268] main private debug: looking for sout access module: 1 candidate
[00000268] main private: creating httpd
[00000271] main private debug: thread 76962736 (httpd host thread) created at priority 0 (src/misc/httpd.c:1163)
[00000142] main module debug: using sout access module "access_output_http"
[00000266] stream_out_standard private debug: access opened
[00000272] main private debug: looking for sout mux module: 1 candidate
[00000272] mux_asf private debug: Asf muxer opened
[00000272] mux_asf private debug: creating asf stream to be used with mmsh
[00000272] mux_asf private debug: Packet size 4096
[00000272] mux_asf private debug: meta data: title='' author='' copyright='' comment='' rating=''
[00000067] main module debug: using sout mux module "mux_asf"
[00000262] main stream output debug: muxer support adding stream at any time
[00000262] main stream output debug: muxer prefers waiting for all ES before starting muxing
[00000266] stream_out_standard private debug: mux opened
[00000115] main module debug: using sout stream module "stream_out_standard"
[00000263] main private debug: set sout option: sout-transcode-vcodec to DIV3
[00000263] main private debug: set sout option: sout-transcode-acodec to mp3
[00000263] main private debug: set sout option: sout-transcode-vb to 512
[00000263] main private debug: set sout option: sout-transcode-ab to 64
[00000263] main private debug: set sout option: sout-transcode-channels to 2
[00000263] stream_out_transcode private debug: codec audio=mp3 0Hz 2 channels 64Kb/s
[00000263] stream_out_transcode private debug: codec video=DIV3 0x0 scaling: 1.000000 512kb/s
[00000112] main module debug: using sout stream module "stream_out_transcode"
[00000261] main input debug: `test.mpg' gives access `' demux `' path `test.mpg'
[00000261] main input debug: creating demux: access='' demux='' path='test.mpg'
[00000274] main demuxer debug: looking for access_demux module: 2 candidates
[00000261] main input debug: creating access '' path='test.mpg'
[00000277] main access debug: looking for access2 module: 4 candidates
[00000277] vcd access debug: trying .cue file: test.cue
[00000277] access_file access debug: opening file `test.mpg'
[00000134] main module debug: using access2 module "access_file"
[00000282] main private debug: pre buffering
[00000282] main private debug: received first data for our buffer
[00000282] main private debug: prebuffering done 1408981 bytes in 0s - 296223 kbytes/s
[00000261] main input debug: creating demux: access='' demux='' path='test.mpg'
[00000283] main demuxer debug: looking for demux2 module: 37 candidates
[00000246] main module debug: using demux2 module "ps"
[00000261] main input debug: starting in synch mode
[00000261] main input debug: `test.mpg' successfully opened
[00000261] main input debug: selecting program id=0
[00000314] main packetizer debug: looking for packetizer module: 16 candidates
[00000195] main module debug: using packetizer module "mpeg_audio"
[00000261] main input debug: stream out mode -> no decoder thread
[00000341] main packetizer debug: looking for packetizer module: 16 candidates
[00000030] main module debug: using packetizer module "packetizer_mpegvideo"
[00000261] main input debug: stream out mode -> no decoder thread
[00000341] packetizer_mpegvideo packetizer debug: Size 480x480 fps=29.970
[00000314] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 bitrate:160
[00000262] main stream output debug: adding a new input
[00000263] stream_out_transcode private debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 '
[00000342] main decoder debug: looking for decoder module: 21 candidates
[00000194] main module debug: using decoder module "mpeg_audio"
[00000343] main encoder debug: looking for encoder module: 6 candidates
[00000343] ffmpeg encoder debug: libavcodec initialized (interface 4756 )
[00000343] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2/3
[00000016] main module debug: using encoder module "ffmpeg"
[00000350] main private debug: looking for audio filter2 module: 4 candidates
[00000350] mpgatofixed32 private debug: mpga->fl32, bits per sample: 0
[00000086] main module debug: using audio filter2 module "mpgatofixed32"
[00000353] main private debug: looking for audio filter2 module: 4 candidates
[00000353] audio_format private debug: fl32->s16l, bits per sample: 32
[00000094] main module debug: using audio filter2 module "audio_format"
[00000272] main private debug: adding a new input
[00000272] mux_asf private debug: adding input
[00000272] mux_asf private debug: adding mp3 header
[00000342] mpeg_audio decoder debug: MPGA channels:2 samplerate:48000 bitrate:160
[00000262] main stream output debug: adding a new input
[00000263] stream_out_transcode private debug: creating video transcoding from fcc=`mpgv' to fcc=`DIV3'
[00000359] main decoder debug: looking for decoder module: 21 candidates
[00000183] main module debug: using decoder module "libmpeg2"
[00000360] main encoder debug: looking for encoder module: 6 candidates
[00000360] ffmpeg encoder debug: libavcodec already initialized
[00000360] ffmpeg encoder debug: found encoder MS MPEG-4 Video v3
[00000016] main module debug: using encoder module "ffmpeg"
[00000016] main module debug: unlocking module "ffmpeg"
[00000262] main stream output warning: trying to send non-dated packet to stream output!
[00000272] mux_asf private debug: Asf muxer creating header
[00000359] libmpeg2 decoder debug: 480x480, aspect 576000, 29.971 fps
[00000361] main private warning: dts != current_pts (-67738)
[00000361] main private warning: vout synchro warning: pts != current_date (-33367)
[00000360] main encoder debug: looking for encoder module: 6 candidates
[00000360] ffmpeg encoder debug: libavcodec already initialized
[00000360] ffmpeg encoder debug: found encoder MS MPEG-4 Video v3
[00000016] main module debug: using encoder module "ffmpeg"
[00000272] main private debug: adding a new input
[00000272] mux_asf private debug: adding input
[00000361] main private warning: backward_pts != dts (16689)
[00000361] main private warning: backward_pts != dts (33367)
.
.
.
ad naseum

Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests