[FFmpeg-user] Interlaced avi h264 to mp4

pssturges pssturges at gmail.com
Thu Aug 4 01:53:17 CEST 2011


It's amazing (and very frustrating) how when you are trying to solve a
problem your very first attempt can be sooo close to the final solution. Yet
it takes many different attempts, trying many varied things, only to go full
circle and find the solution is a minor variation on your very first
attempt. In this case, after several months working on and off on this,
asking in several forums, the very simple solution is below:

mkvmerge -o video.mkv video.avi
ffmpeg -i video.mkv -vcodec copy -acodec libfaac -ac 2 -ab 160k video.mp4
-acodec copy -newaudio

I don't know why muxing the original avi to mkv allows ffmpeg to be able to
handle it better, but it seems that it does. Perhaps there's a bug with how
ffmpeg handles avi's?

Anyhow, this one is now (finally) solved.
Thanks for all the help,
Phil

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Interlaced-avi-h264-to-mp4-tp3645627p3717262.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list