Different ffmpeg on different machines gives different results on the same input and settings.
Hello, I'm running FFMPEG on PC and on Debian machine. Both with same parameters on the same input Here is the output from the PC run C:\Program Files\eRightSoft\SUPER>ffmpeg -i 108618.flv -vcodec mpeg4 -y -ab 12800 -ar 8000 -ac 1 -s 176x144 -b 96 108618.3gp ffmpeg version 0.5.0-pre2, build 613 Copyright (c) 2000-2005 Fabrice Bellard configuration: --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --disable-ffserver --disable-ffplay --enable-small --enable-memalign-hack --enable-gpl --enable-xvid --enable-dts --enable-a52 --enable-vhook --enable-pthread built on Nov 13 2005 21:13:33, gcc: 3.3.1 (cygming special) A>[flv @ 0x410dd0]skipping flv packet: type 18, size 576, flags 0 Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1) Input #0, flv, from '108618.flv': Duration: N/A, bitrate: N/A Stream #0.0: Audio: mp3, 22050 Hz, mono Stream #0.1: Video: flv, 320x240, 1000.00 fps Output #0, 3gp, to '108618.3gp': Stream #0.0: Video: mpeg4, 176x144, 30.00 fps, q=2-31, 96 kb/s Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 12800 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame= 1015 q=0.0 Lsize= 649kB time=33.8 bitrate= 157.1kbits/s video:223kB audio:53kB global headers:0kB muxing overhead 134.818618% Here is the output on the Linux Debian [franc]$ ~/bin/ffmpeg -i /home/xx/108618.flv -vcodec mpeg4 -y -ab 12800 -ar 8000 -ac 1 -s 176x144 -b 96 /home/xx/108618.3gp FFmpeg version SVN-r6706, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: --prefix=/home/nbdr --enable-amr_wb --enable-amr_nb-fixed --cross-compile libavutil version: 49.0.1 libavcodec version: 51.20.0 libavformat version: 50.6.0 built on Oct 16 2006 05:12:41, gcc: 3.3.5 (Debian 1:3.3.5-13) Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 29.97 (30000/100 1) Input #0, flv, from '/home/.ellington/nbdr/seriousoft.com/am2/files/108618.flv': Duration: 00:00:33.9, start: 0.000000, bitrate: 64 kb/s Stream #0.0: Audio: mp3, 22050 Hz, mono, 64 kb/s Stream #0.1: Video: flv, yuv420p, 320x240, 29.97 fps(r) Output #0, 3gp, to '/home/.ellington/nbdr/seriousoft.com/am2/files/108618.3gp': Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 0 kb/s, 29.97 fps(c) Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 12800 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame= 1014 q=31.0 Lsize= 199kB time=33.8 bitrate= 48.1kbits/s video:36kB audio:53kB global headers:0kB muxing overhead 121.928102% -------------------------------------------------------------------------------------------------------- The output on the PC is good quality and the output on the Debian is bad quality. I need the good quality on the Debian. To me it seems like the difference is the yuv420p param that is shown on the Debian run. What can I do to get the good quality MPEG4 work on the Debian? Thank you in advance. Nir Bendor __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
nir BD wrote:
Hello,
I'm running FFMPEG on PC and on Debian machine. Both with same parameters on the same input
Here is the output from the PC run
C:\Program Files\eRightSoft\SUPER>ffmpeg -i 108618.flv -vcodec mpeg4 -y -ab 12800 -ar 8000 -ac 1 -s 176x144 -b 96 108618.3gp ffmpeg version 0.5.0-pre2, build 613 Copyright (c) 2000-2005 Fabrice Bellard configuration: --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --disable-ffserver --disable-ffplay --enable-small --enable-memalign-hack --enable-gpl --enable-xvid --enable-dts --enable-a52 --enable-vhook --enable-pthread built on Nov 13 2005 21:13:33, gcc: 3.3.1 (cygming special)
This is not the latest svn, and more than 1 year old. It should not be used when reporting problems to this mailing list.
A>[flv @ 0x410dd0]skipping flv packet: type 18, size 576, flags 0
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 30.00 (30/1) Input #0, flv, from '108618.flv': Duration: N/A, bitrate: N/A Stream #0.0: Audio: mp3, 22050 Hz, mono Stream #0.1: Video: flv, 320x240, 1000.00 fps Output #0, 3gp, to '108618.3gp': Stream #0.0: Video: mpeg4, 176x144, 30.00 fps, q=2-31, 96 kb/s Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 12800 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame= 1015 q=0.0 Lsize= 649kB time=33.8 bitrate= 157.1kbits/s video:223kB audio:53kB global headers:0kB muxing overhead 134.818618%
Here is the output on the Linux Debian
[franc]$ ~/bin/ffmpeg -i /home/xx/108618.flv -vcodec mpeg4 -y -ab 12800 -ar 8000 -ac 1 -s 176x144 -b 96 /home/xx/108618.3gp FFmpeg version SVN-r6706, Copyright (c) 2000-2006 Fabrice Bellard, et al. configuration: --prefix=/home/nbdr --enable-amr_wb --enable-amr_nb-fixed --cross-compile libavutil version: 49.0.1 libavcodec version: 51.20.0 libavformat version: 50.6.0 built on Oct 16 2006 05:12:41, gcc: 3.3.5 (Debian 1:3.3.5-13)
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 29.97 (30000/100 1) Input #0, flv, from '/home/.ellington/nbdr/seriousoft.com/am2/files/108618.flv': Duration: 00:00:33.9, start: 0.000000, bitrate: 64 kb/s Stream #0.0: Audio: mp3, 22050 Hz, mono, 64 kb/s Stream #0.1: Video: flv, yuv420p, 320x240, 29.97 fps(r) Output #0, 3gp, to '/home/.ellington/nbdr/seriousoft.com/am2/files/108618.3gp': Stream #0.0: Video: mpeg4, yuv420p, 176x144, q=2-31, 0 kb/s, 29.97 fps(c)
The unit for -b has changed from kbps to bps. Try -b 96000.
Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 12800 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 Press [q] to stop encoding frame= 1014 q=31.0 Lsize= 199kB time=33.8 bitrate= 48.1kbits/s video:36kB audio:53kB global headers:0kB muxing overhead 121.928102%
--------------------------------------------------------------------------------------------------------
The output on the PC is good quality and the output on the Debian is bad quality. I need the good quality on the Debian. To me it seems like the difference is the yuv420p param that is shown on the Debian run. What can I do to get the good quality MPEG4 work on the Debian?
Just -b 96000 (but better update first).
Thank you in advance. Nir Bendor
-- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
Michel Bardiaux wrote:
nir BD wrote:
Hello,
I'm running FFMPEG on PC and on Debian machine. Both with same parameters on the same input
Nit: Since "PC" stands for "personal computer", I'd be very surprised if your Debian machine was not also a PC. You appear to be using the term "on a PC" to mean "in Windows".
Here is the output from the PC run
C:\Program Files\eRightSoft\SUPER>ffmpeg -i 108618.flv -vcodec mpeg4 -y -ab 12800 -ar 8000 -ac 1 -s 176x144 -b 96 108618.3gp ffmpeg version 0.5.0-pre2, build 613 Copyright (c) 2000-2005 Fabrice Bellard configuration: --enable-mp3lame --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --disable-ffserver --disable-ffplay --enable-small --enable-memalign-hack --enable-gpl --enable-xvid --enable-dts --enable-a52 --enable-vhook --enable-pthread built on Nov 13 2005 21:13:33, gcc: 3.3.1 (cygming special)
This is not the latest svn, and more than 1 year old. It should not be used when reporting problems to this mailing list.
Not to mention that (unless I'm much mistaken) there never was an 0.5.0 release of any sort, so this must be some third-party packager's modified version - and hence not supported here. -- The Wanderer is aware that these are not really helpful contributions Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
participants (3)
-
inverseparadox@comcast.net -
mbardiaux@mediaxim.be -
nirbd@yahoo.com