maxxon
11th April 2012, 05:55
I'm trying to reencode a .mp4 file to a .avi file that will be read by my dvd player
The manual says it can play "USB Flash Drive that contains audio titles, DivX, MP3, WMA, and/or JPEG files." I'm trying to use ffmpeg to reencode it but the quality of the resulting file sucks.
Here is my command line:
ffmpeg -i file.mp4 -vcodec msmpeg4v2 -acodec aac -strict experimental -ab 325k file.avi
I've also tried this:
ffmpeg -i file.mp4 -s 320x240 -vcodec msmpeg4v2 file.avi
But I got this error message:
Application provided invalid, non monotonically increasing dts to muxer in stream 1: 106851 >= 106851
av_interleaved_write_frame(): Invalid argument
If anyone has any suggestions as to what command line I should use, it would be greatly appreciated.
Thanx,
|\/|x
I'm running Ubuntu 11.10 x64bit with ffmpeg that I built using these commands (http://buildall.wordpress.com/2011/05/09/how-to-compile-and-install-ffmpeg-in-ubuntu-11-04/).
The manual says it can play "USB Flash Drive that contains audio titles, DivX, MP3, WMA, and/or JPEG files." I'm trying to use ffmpeg to reencode it but the quality of the resulting file sucks.
Here is my command line:
ffmpeg -i file.mp4 -vcodec msmpeg4v2 -acodec aac -strict experimental -ab 325k file.avi
I've also tried this:
ffmpeg -i file.mp4 -s 320x240 -vcodec msmpeg4v2 file.avi
But I got this error message:
Application provided invalid, non monotonically increasing dts to muxer in stream 1: 106851 >= 106851
av_interleaved_write_frame(): Invalid argument
If anyone has any suggestions as to what command line I should use, it would be greatly appreciated.
Thanx,
|\/|x
I'm running Ubuntu 11.10 x64bit with ffmpeg that I built using these commands (http://buildall.wordpress.com/2011/05/09/how-to-compile-and-install-ffmpeg-in-ubuntu-11-04/).