[Ffmpeg-devel] Bug? Flash 2 pass encoding breaks after 10 seconds

Robert Zufall RobertZufall
Fri Oct 6 16:59:49 CEST 2006


Hi,


I read that you guys want bugs posted here. I think this is a bug. I already posted this to the ffmpeg-user list, but nobody replied.

Newest FFMPEG version from the SVN on a linux machine.

I try to encode Flashvideo (FLV). it work for the first pass, but the 2nd pass is strange:
after 10 seconds in the video the quality is the same as in the first pass.

Examples (I would like to upload samples via ftp like it says on the page "Reporting a Bug To The FFmpeg Project" but the ftp-server ist not anonymous...)
http://www.thirdrail.de/pi-1pass.flv
http://www.thirdrail.de/pi-2pass.flv
http://www.thirdrail.de/log_file-0.log

look at the very start at the small letters and you can see a great quality difference, but after 10 seconds everthing is the same.

can anybody help me please?

thy, Rob

PS. this is the output of one of my tests:

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-a52 --enable-a52bin --extra-cflags=-Wall -g -fPIC -DPIC
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 9 2006 09:27:02, gcc: 3.3.5 (Debian 1:3.3.5-13)
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from '/path/to/source.avi':
Duration: 00:04:04.2, start: 3.000000, bitrate: 761 kb/s
Stream #0.0: Audio: wmav2, 22050 Hz, stereo, 22 kb/s
Stream #0.1: Video: wmv1, yuv420p, 400x300, 25.00 fps(r)
Output #0, flv, to '/path/to/dest.flv':
Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, pass 1, 160 kb/s, 25.00 fps(c)
Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 6084 q=18.8 Lsize= 6915kB time=243.4 bitrate= 232.8kbits/s
video:5004kB audio:1665kB global headers:0kB muxing overhead 3.701685%



2nd pass:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-mp3lame --enable-gpl --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-a52 --enable-a52bin --extra-cflags=-Wall -g -fPIC -DPIC
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 9 2006 09:27:02, gcc: 3.3.5 (Debian 1:3.3.5-13)
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from '/path/to/source.avi':
Duration: 00:04:04.2, start: 3.000000, bitrate: 761 kb/s
Stream #0.0: Audio: wmav2, 22050 Hz, stereo, 22 kb/s
Stream #0.1: Video: wmv1, yuv420p, 400x300, 25.00 fps(r)
Output #0, flv, to '/path/to/dest.flv':
Stream #0.0: Video: flv, yuv420p, 320x240, q=2-31, pass 2, 160 kb/s, 25.00 fps(c)
Stream #0.1: Audio: mp3, 22050 Hz, mono, 56 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Press [q] to stop encoding
frame= 6084 q=16.2 Lsize= 6642kB time=243.4 bitrate= 223.6kbits/s
video:4729kB audio:1665kB global headers:0kB muxing overhead 3.891671%
_______________________________________________________________________
Viren-Scan f?r Ihren PC! Jetzt f?r jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222





More information about the ffmpeg-devel mailing list