Monday, March 20, 2006

 

Changing the codec for those incompatible videos in your presentation

The other day I was writing about how to compile some images into a movie, for using in a sexy protein streap-tease show. Well, if your results were not satisfying, maybe it was because you used the wrong codec. Don't misunderstand me, no codec is wrong at all, but let's face that there are ones that don't even meet the naiver compatibility tests (gates media video?).

If you want to change your codec, here's your command (again using ffmpeg):

ffmpeg -i inVideo -f avi -vcodec mpeg4 -b 800 -g 300 -bf 2 -acodec mp3 -ab 128 videoMpeg4.avi


This line forces the avi format (-f avi), uses mpeg-4 as the encoding standard (-vcodec mpeg4), sets a bitrate of 800kbps (-b 800), sizes GOP in 300, so it makes DivX compatible (-g 300), etc. Replace inVideo with your video name, and you're done.

Nice encoding!

This page is powered by Blogger. Isn't yours?