FLV h.264/aac decoding troubles?
Good morning, I'm trying to decode a FLV file and for some reason it stops shortly after the conversion starts - producing a working, but incomplete output file... Here's the command line and output: ./NEWTAffmpeg -i vp6_maybe.flv -y test.mp4 FFmpeg version SVN-r15898, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --enable-pthreads --disable-network --disable-vhook --enable-small --enable-libmp3lame --disable-decoder=atrac3 --disable- decoder=cook --disable-decoder=snow --disable-encoder=snow --enable- gpl --disable-mmx --enable-static --disable-shared --disable-altivec -- enable-libx264 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/ usr/local/lib --enable-libfaac --enable-libfaad --disable-ffserver -- disable-ffplay libavutil 49.12. 0 / 49.12. 0 libavcodec 52. 3. 0 / 52. 3. 0 libavformat 52.23. 1 / 52.23. 1 libavdevice 52. 1. 0 / 52. 1. 0 built on Nov 21 2008 09:41:53, gcc: 4.0.1 (Apple Inc. build 5488) Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, flv, from 'vp6_maybe.flv': Duration: 00:03:30.99, start: 0.000000, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 25.00 tb(r) Stream #0.1: Audio: aac, 22050 Hz, stereo, s16 Output #0, mp4, to 'test.mp4': Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25.00 tb(c) Stream #0.1: Audio: libfaac, 22050 Hz, stereo, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [aac @ 0x804400]Number of bands (49) exceeds limit (47).rate= 322.3kbits/s Error while decoding stream #0.1 frame= 416 fps=120 q=14.1 Lsize= 653kB time=16.44 bitrate= 325.6kbits/s video:518kB audio:128kB global headers:0kB muxing overhead 1.116971% Now of course the only error I can see here is [aac @ 0x804400]Number of bands (49) exceeds limit (47).rate= 322.3kbits/s -- but I cna't find any explanation on that one... Anyone has seen this before? Anyone has ideas what's going on and / or how I can fix it? Thanks! Jean Le Clerc, techie at malus.ca Logiciels Malus Softwares http://www.malus.ca/ http://fuzzyware.blogspot.com/
Hi all, when I try to open an flv file on a http link I have next problem: The transcoding starts but when it reaches the end of the source file I recieve an infinite number of " flv packet: type 68, size 6386789, flags" errors. I analyzed the http traffic with wireshark and it seems that ffmpeg requests invalid byte ranges (error code 416: Request Range not satisfiable). It seems that ffmpeg thinks the file is not finished yet and want to have some more data but the server is unable to send anything due to the erroneous requests. Ffmpeg receives nothing and hangs on this. Maybe a bug? I also saw that ffmpeg complains about a broken flv file but it generates the same warning when this file is opened locally. Transcoding the same file from local source works without any problem. Below you can find the output. Has anybody had any experience on this? regards, Philippe. /work/vodtec_server/vodtec_devel/tools/av/ffmpeg-checkout05072007 -i http://www.cozzn.be/test.flv -ac 2 -ar 44100 -acodec mp3 -ab 256000 -vcodec mjpeg -b 5000000 -r 15 -s 426x320 -padleft 28 -padright 26 -y -vol 256 "tmp.avi" FFmpeg version SVN-r9471, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libfaad --enable-gpl -- enable-libfaac --enable-libamr-nb --enable-libamr-wb --enable-liba52 -- enable-pthreads --enable-libx264 libavutil version: 49.4.1 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on Jul 5 2007 16:43:22, gcc: 3.3.5 (Debian 1:3.3.5-13) [flv @ 0x845e760]Broken FLV file, which says no streams present, this might fail Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. Do not report crashes to FFmpeg developers. Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1) Input #0, flv, from 'http://theia3.vodtec.be/test.flv': Duration: 00:00:10.9, start: 0.000000, bitrate: 128 kb/s Stream #0.0: Video: flv, yuv420p, 320x240, 25.00 fps(r) Stream #0.1: Audio: mp3, 44100 Hz, stereo, 128 kb/s PIX_FMT_YUV420P will be used as an intermediate format for rescaling Output #0, avi, to '/data/mobvideo_files/tmp.avi': Stream #0.0: Video: mjpeg, yuvj420p, 480x320, q=2-31, 5000 kb/s, 15.00 fps(c) Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 256 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0ts/s [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 [flv @ 0x845e760]skipping flv packet: type 68, size 6386789, flags 0 .... untill the end of times.
participants (2)
-
phil@cozzn.be -
techie@malus.ca