Flash transcoding+streaming broken
Flash transcoding + streaming is no longer working. Using the instructions listed in the wiki at http://wiki.videolan.org/Flash_Video video is not streamed as expected. Tested with 0.9.8a on Mac OS X 10.5.6 and Ubuntu 8.10 0.9.4.
$ /Applications/VLC.app/Contents/MacOS/VLC -vvv test.ty --sout="#transcode{vcodec=FLV1,acodec=mp3,samplerate=22050}:std{access=http,dst=0.0.0.0:8080/stream.flv}"
[00000001] main libvlc debug: VLC media player - version 0.9.8 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--enable-release' '--enable-update-check' '--with-macosx-sdk=/Developer/SDKs/MacOSX10.4u.sdk' 'PKG_CONFIG_PATH=:/opt/local/lib/pkgconfig:/opt/local/lib/pkgconfig'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc debug: opening config file (/Users/stealthdave/Library/Preferences/VLC/vlcrc)
[00000001] main libvlc debug: loading config for module "main"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file /Users/stealthdave/Library/Preferences/VLC/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/modules'
[00000001] main libvlc debug: recursively browsing `/Applications/VLC.app/Contents/MacOS/plugins'
[00000001] main libvlc debug: recursively browsing `/Users/videolan/thresh/vlc-releases.git/vlc_install_dir/lib/vlc'
[00000001] main libvlc debug: module bank initialized, found 259 modules
[00000001] main libvlc debug: opening config file (/Users/stealthdave/Library/Preferences/VLC/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000353] main interaction debug: thread 2953318400 (Interaction control) created at priority 0 (interface/interaction.c:382)
[00000353] main interaction debug: thread started
[00000355] main input debug: Creating an input for 'Media Library'
[00000355] main input debug: Input is a meta file: disabling unneeded options
[00000355] main input debug: `file/xspf-open:///Users/stealthdave/Library/Preferences/VLC/ml.xspf' gives access `file' demux `xspf-open' path `/Users/stealthdave/Library/Preferences/VLC/ml.xspf'
[00000355] main input debug: creating access 'file' path='/Users/stealthdave/Library/Preferences/VLC/ml.xspf'
[00000356] main access debug: looking for access module: 3 candidates
[00000356] access_file access debug: opening file `/Users/stealthdave/Library/Preferences/VLC/ml.xspf'
[00000356] main access debug: using access module "access_file"
[00000356] main access debug: TIMER module_Need() : 1.541 ms - Total 1.541 ms / 1 intvls (Avg 1.541 ms)
[00000361] main stream debug: Using AStream*Stream
[00000361] main stream debug: pre-buffering...
[00000361] main stream debug: received first data for our buffer
[00000355] main input debug: creating demux: access='file' demux='xspf-open' path='/Users/stealthdave/Library/Preferences/VLC/ml.xspf'
[00000362] main demux debug: looking for demux module: 1 candidate
[00000362] playlist demux debug: using XSPF playlist reader
[00000362] main demux debug: using demux module "playlist"
[00000362] main demux debug: TIMER module_Need() : 0.695 ms - Total 0.695 ms / 1 intvls (Avg 0.695 ms)
[00000355] main input debug: `file/xspf-open:///Users/stealthdave/Library/Preferences/VLC/ml.xspf' successfully opened
[00000377] main xml debug: looking for xml module: 2 candidates
[00000377] main xml debug: using xml module "xml"
[00000377] main xml debug: TIMER module_Need() : 1.075 ms - Total 1.075 ms / 1 intvls (Avg 1.075 ms)
[00000362] playlist demux debug: parsed 0 tracks successfully
[00000377] main xml debug: removing module "xml"
[00000355] main input debug: EOF reached
[00000355] main input debug: control type=1
[00000362] main demux debug: removing module "playlist"
[00000356] main access debug: removing module "access_file"
[00000355] main input debug: TIMER input launching for 'Media Library' : 6.523 ms - Total 6.523 ms / 1 intvls (Avg 6.523 ms)
[00000379] main preparser debug: thread started
[00000379] main preparser debug: waiting for thread initialization
[00000379] main preparser debug: thread 2953850880 (preparser) created at priority 0 (playlist/thread.c:79)
[00000380] main fetcher debug: thread started
[00000380] main fetcher debug: waiting for thread initialization
[00000380] main fetcher debug: thread 2954383360 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000354] main playlist debug: thread started
[00000354] main playlist debug: waiting for thread initialization
[00000354] main playlist debug: rebuilding array of current - root Playlist
[00000354] main playlist debug: rebuild done - 0 items, index -1
[00000354] main playlist debug: thread 2954915840 (playlist) created at priority 0 (playlist/thread.c:117)
[00000381] main interface debug: looking for interface module: 1 candidate
[00000381] main interface debug: using interface module "hotkeys"
[00000381] main interface debug: TIMER module_Need() : 1.495 ms - Total 1.495 ms / 1 intvls (Avg 1.495 ms)
[00000381] main interface debug: thread started
[00000381] main interface debug: thread 2955448320 (interface) created at priority 0 (interface/interface.c:168)
[00000354] main playlist debug: adding item `test.ty' ( test.ty )
[00000383] main interface debug: looking for interface module: 17 candidates
[00000383] main interface debug: using interface module "signals"
[00000383] main interface debug: TIMER module_Need() : 0.676 ms - Total 0.676 ms / 1 intvls (Avg 0.676 ms)
[00000383] main interface debug: thread 2956513280 (interface) created at priority 0 (interface/interface.c:168)
[00000383] main interface debug: thread started
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000385] main interface debug: looking for interface module: 4 candidates
[00000385] main interface debug: using interface module "macosx"
[00000385] main interface debug: TIMER module_Need() : 82.236 ms - Total 82.236 ms / 1 intvls (Avg 82.236 ms)
[00000385] main interface debug: thread 2957045760 (interface) created at priority 0 (interface/interface.c:148)
[00000385] main interface debug: thread started
[00000354] main playlist debug: no fetch required for Playlist (art currently (null))
[00000385] macosx interface debug: notification received in VLC with name VLCOSXGUIInit and object VLCEyeTVSupport
[00000354] main playlist debug: rebuilding array of current - root Playlist
[00000354] main playlist debug: rebuild done - 1 items, index -1
[00000354] main playlist debug: starting new item
[00000354] main playlist debug: processing request item null node Playlist skip 0
[00000354] main playlist debug: creating new input thread
[00000388] main input debug: Creating an input for 'test.ty'
[00000388] main input debug: waiting for thread initialization
[00000388] main input debug: thread started
[00000388] main input debug: thread 2958790656 (input) created at priority 22 (input/input.c:370)
[00000389] main stream output debug: stream=`transcode'
[00000385] macosx interface debug: input has changed, refreshing interface
[00000390] main stream out debug: looking for sout stream module: 1 candidate
[00000389] main stream output debug: stream=`std'
[00000393] main stream out debug: looking for sout stream module: 1 candidate
[00000393] main stream out debug: set config option: sout-standard-access to http
[00000393] main stream out debug: set config option: sout-standard-dst to 0.0.0.0:8080/stream.flv
[00000393] stream_out_standard stream out debug: creating `http/(null)://0.0.0.0:8080/stream.flv'
[00000393] stream_out_standard stream out debug: extension is flv
[00000393] stream_out_standard stream out debug: extension -> mux=ffmpeg{mux=flv}
[00000393] stream_out_standard stream out debug: using `http/ffmpeg{mux=flv}://0.0.0.0:8080/stream.flv'
[00000395] main access out debug: looking for sout access module: 1 candidate
[00000354] main playlist debug: no fetch required for Playlist (art currently (null))
[00000395] main access out: creating httpd
[00000395] main access out debug: net: listening to 0.0.0.0 port 8080
[00000398] main http server debug: thread 2959323136 (httpd host thread) created at priority 0 (network/httpd.c:1107)
[00000398] main http server debug: thread started
[00000395] main access out debug: using sout access module "access_output_http"
[00000395] main access out debug: TIMER module_Need() : 2.936 ms - Total 2.936 ms / 1 intvls (Avg 2.936 ms)
[00000393] stream_out_standard stream out debug: access opened
[00000399] main mux debug: looking for sout mux module: 1 candidate
[00000399] main mux debug: set config option: ffmpeg-mux to flv
[00000399] main mux debug: using sout mux module "avformat"
[00000399] main mux debug: TIMER module_Need() : 178.596 ms - Total 178.596 ms / 1 intvls (Avg 178.596 ms)
[00000393] stream_out_standard stream out debug: mux opened
[00000393] main stream out debug: using sout stream module "stream_out_standard"
[00000393] main stream out debug: TIMER module_Need() : 186.066 ms - Total 186.066 ms / 1 intvls (Avg 186.066 ms)
[00000390] main stream out debug: set config option: sout-transcode-vcodec to FLV1
[00000390] main stream out debug: set config option: sout-transcode-acodec to mp3
[00000390] main stream out debug: set config option: sout-transcode-samplerate to 22050
[00000390] stream_out_transcode stream out debug: codec audio=mp3 22050Hz 0 channels 0Kb/s
[00000390] stream_out_transcode stream out debug: codec video=FLV1 0x0 scaling: 1.000000 800kb/s
[00000390] main stream out debug: using sout stream module "stream_out_transcode"
[00000390] main stream out debug: TIMER module_Need() : 195.942 ms - Total 195.942 ms / 1 intvls (Avg 195.942 ms)
[00000388] main input debug: `test.ty' gives access `' demux `' path `test.ty'
[00000388] main input debug: creating demux: access='' demux='' path='test.ty'
[00000402] main demux debug: looking for access_demux module: 2 candidates
[00000402] main demux debug: TIMER module_Need() : 8.512 ms - Total 8.512 ms / 1 intvls (Avg 8.512 ms)
[00000388] main input debug: creating access '' path='test.ty'
[00000405] main access debug: looking for access module: 8 candidates
[00000405] vcd access debug: trying .cue file: test.cue
[00000405] vcd access debug: could not find .cue file
[00000405] access_file access debug: opening file `test.ty'
[00000405] main access debug: using access module "access_file"
[00000405] main access debug: TIMER module_Need() : 33.316 ms - Total 33.316 ms / 1 intvls (Avg 33.316 ms)
[00000408] main stream debug: Using AStream*Stream
[00000408] main stream debug: pre-buffering...
[00000408] main stream debug: received first data for our buffer
[00000408] main stream debug: pre-buffering done 1408981 bytes in 0s - 26071 kbytes/s
[00000388] main input debug: creating demux: access='' demux='' path='test.ty'
[00000409] main demux debug: looking for demux module: 51 candidates
[00000409] ty demux debug: valid TY stream detected
[00000409] ty demux debug: probe: chunk has 12 0x6e0 recs, 10 0xbe0 recs.
[00000409] ty demux debug: detected Series 1 Tivo
[00000409] ty demux debug: detected MPEG Audio
[00000409] ty demux debug: detected Stand-Alone Tivo
[00000388] main input debug: selecting program id=1
[00000409] main demux debug: using demux module "ty"
[00000409] main demux debug: TIMER module_Need() : 66.859 ms - Total 66.859 ms / 1 intvls (Avg 66.859 ms)
[00000388] main input debug: looking for a subtitle file in /Users/stealthdave/Movies/
[00000443] main packetizer debug: looking for packetizer module: 18 candidates
[00000443] main packetizer debug: using packetizer module "mpeg_audio"
[00000443] main packetizer debug: TIMER module_Need() : 87.684 ms - Total 87.684 ms / 1 intvls (Avg 87.684 ms)
[00000388] main input debug: stream out mode -> no decoder thread
[00000477] main packetizer debug: looking for packetizer module: 18 candidates
[00000477] main packetizer debug: using packetizer module "packetizer_mpegvideo"
[00000477] main packetizer debug: TIMER module_Need() : 0.869 ms - Total 0.869 ms / 1 intvls (Avg 0.869 ms)
[00000388] main input debug: stream out mode -> no decoder thread
[00000388] main input debug: starting in async mode
[00000388] main input debug: `test.ty' successfully opened
[00000409] ty demux debug: parsing ty chunk [#0](https://code.videolan.org/videolan/vlc/-/issues/0)
[00000409] ty demux debug: first TY pts in master is 00:00:00
[00000409] ty demux debug: final TY pts in master is 00:19:30
[00000409] ty demux debug: parsing ty chunk [#1](https://code.videolan.org/videolan/vlc/-/issues/1)
[00000388] main input debug: control type=1
[00000477] packetizer_mpegvideo packetizer debug: size 352x480 fps=29.970
[00000389] main stream output debug: adding a new sout input (sout_input:0x14d62a10)
[00000390] stream_out_transcode stream out debug: creating video transcoding from fcc=`mpgv' to fcc=`FLV1'
[00000478] main decoder debug: looking for decoder module: 31 candidates
[00000478] main decoder debug: using decoder module "libmpeg2"
[00000478] main decoder debug: TIMER module_Need() : 62.209 ms - Total 62.209 ms / 1 intvls (Avg 62.209 ms)
[00000479] main encoder debug: looking for encoder module: 10 candidates
[00000354] main playlist debug: no fetch required for Playlist (art currently (null))
[00000479] avcodec encoder debug: libavcodec initialized (interface 3407872 )
[00000479] avcodec encoder debug: removing common factors from framerate
(flv@0x96ca10)
[00000479] avcodec encoder debug: found encoder Flash Video
[00000479] main encoder debug: using encoder module "avcodec"
[00000479] main encoder debug: TIMER module_Need() : 187.731 ms - Total 187.731 ms / 1 intvls (Avg 187.731 ms)
[00000479] main encoder debug: removing module "avcodec"
[00000389] main stream output warning: trying to send non-dated packet to stream output!
[00000477] main packetizer debug: switching to sync mode
[00000443] mpeg_audio packetizer debug: MPGA channels:2 samplerate:32000 bitrate:192
[00000389] main stream output debug: adding a new sout input (sout_input:0x14d64d30)
[00000390] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 '
[00000491] main decoder debug: looking for decoder module: 31 candidates
[00000491] main decoder debug: using decoder module "mpeg_audio"
[00000491] main decoder debug: TIMER module_Need() : 4.619 ms - Total 4.619 ms / 1 intvls (Avg 4.619 ms)
[00000492] main encoder debug: looking for encoder module: 10 candidates
[00000492] avcodec encoder debug: libavcodec already initialized
[00000492] avcodec encoder debug: found encoder MPEG Audio layer 1/2/3
[00000492] main encoder debug: using encoder module "avcodec"
[00000492] main encoder debug: TIMER module_Need() : 13.700 ms - Total 13.700 ms / 1 intvls (Avg 13.700 ms)
[00000390] stream_out_transcode stream out debug: Looking for filter (mpga->s16l, channels 2->2, rate 32000->32000)
[00000495] main filter debug: looking for audio filter2 module: 8 candidates
[00000495] mpgatofixed32 filter debug: mpga->fl32, bits per sample: 0
[00000495] main filter debug: using audio filter2 module "mpgatofixed32"
[00000495] main filter debug: TIMER module_Need() : 3.088 ms - Total 3.088 ms / 1 intvls (Avg 3.088 ms)
[00000390] main stream out debug: Filter 'mpgatofixed32' (0x9f1300) appended to chain
[00000390] stream_out_transcode stream out debug: Looking for filter (fl32->s16l, channels 2->2, rate 32000->32000)
[00000502] main filter debug: looking for audio filter2 module: 8 candidates
[00000502] audio_format filter debug: fl32->s16l, bits per sample: 32->16
[00000502] main filter debug: using audio filter2 module "audio_format"
[00000502] main filter debug: TIMER module_Need() : 4.596 ms - Total 4.596 ms / 1 intvls (Avg 4.596 ms)
[00000390] main stream out debug: Filter 'audio_format' (0x9f3700) appended to chain
[00000399] main mux debug: adding a new input
[00000399] avformat mux debug: adding input
[00000491] mpeg_audio decoder debug: MPGA channels:2 samplerate:32000 bitrate:192
[00000409] ty demux debug: parsing ty chunk [#2](https://code.videolan.org/videolan/vlc/-/issues/2)
[00000478] libmpeg2 decoder debug: 352x480 (display 352,480), aspect 576000, sar 20:11, 29.971 fps
[00000478] main decoder warning: dts != current_pts (-50587)
[00000478] main decoder warning: decoder synchro warning: pts != current_date (-32700)
[00000390] stream_out_transcode stream out debug: decoder aspect is 576000:432000
[00000390] stream_out_transcode stream out debug: source pixel aspect is 1.818182:1
[00000390] stream_out_transcode stream out debug: scaled pixel aspect is 1.818182:1
[00000390] stream_out_transcode stream out debug: source 352x480, destination 352x480
[00000390] stream_out_transcode stream out debug: encoder aspect is 576000:432000
[00000390] stream_out_transcode stream out debug: destination (after video filters) 352x480
[00000479] main encoder debug: looking for encoder module: 10 candidates
[00000479] avcodec encoder debug: libavcodec already initialized
[00000479] avcodec encoder debug: found encoder Flash Video
[00000479] main encoder debug: using encoder module "avcodec"
[00000479] main encoder debug: TIMER module_Need() : 5.598 ms - Total 5.598 ms / 1 intvls (Avg 5.598 ms)
[00000399] main mux debug: adding a new input
[00000399] avformat mux debug: adding input
[00000409] ty demux debug: parsing ty chunk [#3](https://code.videolan.org/videolan/vlc/-/issues/3)
[00000409] ty demux debug: parsing ty chunk [#4](https://code.videolan.org/videolan/vlc/-/issues/4)
[00000409] ty demux debug: parsing ty chunk [#5](https://code.videolan.org/videolan/vlc/-/issues/5)
[00000409] ty demux debug: parsing ty chunk [#6](https://code.videolan.org/videolan/vlc/-/issues/6)
[00000399] main mux warning: late buffer for mux input (107592)
[00000399] main mux warning: late buffer for mux input (76614)
[00000399] main mux warning: late buffer for mux input (46090)
[00000399] main mux warning: late buffer for mux input (15179)
[00000390] stream_out_transcode stream out debug: late picture skipped (11767)
[00000390] stream_out_transcode stream out debug: late picture skipped (8322)
[00000399] main mux warning: late buffer for mux input (4914)
[00000399] main mux warning: late buffer for mux input (63705)
[00000399] main mux warning: late buffer for mux input (31599)
[00000390] stream_out_transcode stream out debug: late picture skipped (33512)
[00000390] stream_out_transcode stream out debug: late picture skipped (1850)
[00000399] avformat mux debug: writing header
Aspect ratio mismatch between encoder and muxer layer
[00000399] avformat mux error: could not write header
[00000409] ty demux debug: parsing ty chunk [#7](https://code.videolan.org/videolan/vlc/-/issues/7)
[00000399] main mux warning: late buffer for mux input (2432)
[00000399] main mux warning: late buffer for mux input (12611)
[00000390] stream_out_transcode stream out debug: late picture skipped (29472)
[00000390] stream_out_transcode stream out debug: late picture skipped (175)
[00000390] stream_out_transcode stream out debug: late picture skipped (10748)
[00000390] stream_out_transcode stream out debug: late picture skipped (10287)
[00000409] ty demux debug: parsing ty chunk [#8](https://code.videolan.org/videolan/vlc/-/issues/8)
[00000399] main mux warning: late buffer for mux input (93746)
[00000399] main mux warning: late buffer for mux input (61494)
[00000399] main mux warning: late buffer for mux input (29390)
[00000479] avcodec encoder warning: rc buffer underflow
(flv@0x9f6610)
[00000399] main mux warning: late buffer for mux input (5767)
[00000390] stream_out_transcode stream out debug: late picture skipped (23322)
[00000479] avcodec encoder warning: rc buffer underflow
(flv@0x9f6610)
[00000399] main mux warning: late buffer for mux input (87959)
[00000399] main mux warning: late buffer for mux input (55607)
[00000399] main mux warning: late buffer for mux input (24829)
[00000390] stream_out_transcode stream out debug: late picture skipped (803)
[00000409] ty demux debug: parsing ty chunk [#9](https://code.videolan.org/videolan/vlc/-/issues/9)
[00000479] avcodec encoder warning: rc buffer underflow
(flv@0x9f6610)
[00000399] main mux warning: late buffer for mux input (66064)
[00000399] main mux warning: late buffer for mux input (34757)
[00000399] main mux warning: late buffer for mux input (3554)
[00000399] main mux warning: late buffer for mux input (32684)
[00000399] main mux warning: late buffer for mux input (5839)
[00000479] avcodec encoder warning: rc buffer underflow
(flv@0x9f6610)
[00000479] avcodec encoder warning: rc buffer underflow
(flv@0x9f6610)
[00000399] main mux warning: late buffer for mux input (38481)
[00000399] main mux warning: late buffer for mux input (6434)
[00000390] stream_out_transcode stream out debug: late picture skipped (32062)
[00000478] main decoder warning: decoder synchro warning: pts != current_date (-32367)
[00000409] ty demux debug: parsing ty chunk [#10](https://code.videolan.org/videolan/vlc/-/issues/10)
[00000478] main decoder warning: decoder synchro warning: pts != current_date (-162200)
[00000409] ty demux debug: parsing ty chunk [#11](https://code.videolan.org/videolan/vlc/-/issues/11)
[00000354] main playlist debug: no fetch required for Playlist (art currently (null))
[00000409] ty demux debug: parsing ty chunk [#12](https://code.videolan.org/videolan/vlc/-/issues/12)
[00000399] main mux warning: late buffer for mux input (28587)
[00000409] ty demux debug: parsing ty chunk [#13](https://code.videolan.org/videolan/vlc/-/issues/13)
[00000399] main mux warning: late buffer for mux input (86957)
[00000399] main mux warning: late buffer for mux input (55558)
[00000399] main mux warning: late buffer for mux input (24245)
[00000399] main mux warning: late buffer for mux input (10765)
[00000409] ty demux debug: parsing ty chunk [#14](https://code.videolan.org/videolan/vlc/-/issues/14)
[00000390] stream_out_transcode stream out debug: late picture skipped (4367)
[00000388] main input debug: EsOutProgramMeta: number=1
[00000399] main mux warning: late buffer for mux input (15589)
[00000409] ty demux debug: parsing ty chunk [#15](https://code.videolan.org/videolan/vlc/-/issues/15)