Michel Bardiaux wrote:
eric at jadenshouse.com wrote:
I am trying to use ffmpeg to convert an avi to mpg (mpeg 2). This command works on the CLI in Windows, but is failing on my Linux box. Can someone help me decipher what is wrong?
Command:
ffmpeg -i VIDEO_FILE_IN -hq -target ntsc-dvd -b 6000 -aspect 4:3 -s 720x480 -acodec mp2 -ab 224 -ac 2 -mbd 2 -qmin 2 -async 1 -y VIDEO_FILE_OUT
Error:
ffmpeg: motion_est.c:1961: ff_fix_long_p_mvs: Assertion `range <=256 || !(s->codec_id == CODEC_ID_MPEG2VIDEO && s->avctx->strict_std_compliance >= 0)' failed. Aborted
Thanks, Eric
Please post the *full* output messages on both platforms.
HaND,
Complex error, but an even more complex subject... I get the same error: [jan at pc843 ptp-shared]$ ffmpeg -i Dancer_In_The_Dark.avi -target svcd Dancer_In_The_Dark.mpg ffmpeg version CVS, build 3211264, Copyright (c) 2000-2004 Fabrice Bellard configuration: --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cpu=x86 --extra-cflags=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faadbin --enable-faac --enable-libgsm --enable-xvid --enable-a52 --enable-a52bin --enable-pp --enable-shared-pp --enable-shared --enable-gpl --disable-debug --disable-opts --disable-strip built on Aug 18 2005 16:08:39, gcc: 4.0.1 20050727 (Red Hat 4.0.1-5) Input #0, avi, from 'Dancer_In_The_Dark.avi': Duration: 02:14:27.2, start: 0.000000, bitrate: 749 kb/s Stream #0.0: Video: msmpeg4, yuv420p, 720x320, 25.00 fps Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s Assuming PAL for target. File 'Dancer_In_The_Dark.mpg' already exists. Overwrite ? [y/N] y Output #0, svcd, to 'Dancer_In_The_Dark.mpg': Stream #0.0: Video: mpeg2video, yuv420p, 480x576, 25.00 fps, q=2-31, 2040 kb/s Stream #0.1: Audio: mp2, 44100 Hz, stereo, 224 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding ffmpeg: motion_est.c:1961: ff_fix_long_p_mvs: Assertion `range <=256 || !(s->codec_id == CODEC_ID_MPEG2VIDEO && s->avctx->strict_std_compliance
= 0)' failed. Aborted
With dvd and pal-dvd I get the same. -- for some how-to's and rpms visit my site : http://solid.bounceme.net for commercially supported solutions visit : http://www.robas.com