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
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, -- 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:
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
1. I have a dvb-t tv interface. It works fine (on linux) with mplayer and xine, but i have not been able to find a way to let it capture to a mpeg file. cam some one be of help, pointing me to a good readme ? 2. using winXP with the same setup i got sono recordinmg losing some par of the stream, both on video and audio. playing back, either under windows or on linux, with any program althopught there are some errors in the video and gaps in the audio the overall recording remain in sync. I thred to use ffmpeg to recode in a more compact way, but i ended in having the audio without the gap, so gradually losing the sync with the video. Hov can i recode without losing sync ?
Leonardo Boselli wrote:
1. I have a dvb-t tv interface. It works fine (on linux) with mplayer and xine, but i have not been able to find a way to let it capture to a mpeg file. cam some one be of help, pointing me to a good readme ? 2. using winXP with the same setup i got sono recordinmg losing some par of the stream, both on video and audio. playing back, either under windows or on linux, with any program althopught there are some errors in the video and gaps in the audio the overall recording remain in sync. I thred to use ffmpeg to recode in a more compact way, but i ended in having the audio without the gap, so gradually losing the sync with the video. Hov can i recode without losing sync ?
either mplayer -dumpstream -dumpfile recording.ts dvb://TV_CHANNEL or mplayer -oac copy -ovc copy -of mpeg -mpegopts format=dvd -o recording.mpg dvb://TV_CHANNEL -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Telefona con Email.it Phone Card, tanti minuti di conversazione con il massimo del risparmio, clicca qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2687&d=7-11
participants (5)
-
eric@jadenshouse.com -
leo@dicea.unifi.it -
mbardiaux@mediaxim.be -
nsabbi@email.it -
starquake@tiscali.nl