Exporting in 720p using freeware utilities

NOTE: These guides are for any kind of source video, except from AVCHD cameras. Look here for AVCHD conversion which requires a special decoding in order to be handled correctly by these freeware tools.

To export in 720p with Avidemux2, download the latest preview3 version (or which ever version is the latest), install it, load your HD footage on it, do some basic clip editing (Avidemux2 is not a full video editor, but a clip editor), and when you are done, export like this. Avidemux2 is supported on Windows, Linux and Mac OS X (under X11). It is not recommended to export in mpeg-4 using Avidemux2 and instead use the suggested XViD export, because their h.264 files are not compatible with Quicktime (and they don’t care to fix it, I tried telling them). Finally, not use “yadif” if your footage is not interlaced.

The second way of exporting is using the command line version of FFmpeg. Follow the tutorial here to a degree on how to install ffmpeg on Windows, while use the ffmpeg version that comes with your distribution if you are under Linux. Please note that Ubuntu does not compile ffmpeg with AAC support for legal reasons, so you will have to edit the templates and export using XViD instead of h.264/AAC. Here are the 720p templates you need, pick the one with the right frame rate and edit in the filename of the video you are trying to convert. If your footage is not interlaced, edit the ffmpeg templates, and remove the “-deinterlace” attribute.

Regarding Mac OS X and ffmpeg, you can use the graphical tool called FFmpegX (also install mpeg2enc and mplayer, as their download page suggests), and then use it like this. However, disable de-interlacing on the above method if your footage is not interlaced. For Mac OS X, another good utility (not free), is VisualHub.

Another way to export is using the MediaCoder “full pack” under Windows. Load your HD/HDV file(s) on the application and then export like this. Disable the “linear blend” de-interlacing if your footage is not interlaced. The file is compatible with XboX360, AppleTV, PS3 and Vimeo HD.

If you want to use Mencoder/Mplayer instead, use this:
mencoder INPUT.m2t -aspect 16:9 -of lavf -lavfopts format=psp -oac lavc -ovc lavc -lavcopts
aglobal=1:vglobal=1:coder=0:vcodec=libx264:acodec=libfaac:vbitrate=4500:abitrate=128 -vf scale=1280:720 -ofps 30000/1001 -o OUTPUT.mp4

Use “25” frame rate for 25p PAL, or “24000/1001” for 24p (without quotes), instead of the suggested NTSC 30000/1001 if required. Also modify the input filename, of course.

Finally, on Windows you can use HDVSplit to capture the footage, and then use the “SUPER” application (alternative download server here) like this in XViD format to encode for Vimeo HD. The “SUPER” application can also create h.264 videos too if that’s what you prefer: here’s how.

2 Comments »

edogawaconan wrote on December 8th, 2007 at 8:56 PM PST:

Tried meGUI?
It has profile for AppleTV, Xbox360 and PS3 in the update repository. Or you can set your own settings…
Deinterlacing, crop, resize, etc is handled by AviSynth.


This is the admin speaking...
Eugenia wrote on December 8th, 2007 at 9:03 PM PST:

Installing and using Avisynth and meGui is more complex that installing Avidemux2 or mediacoder I am afraid. It would be a good idea to use it if you really need h.264, as both Mediacoder and Avidemux2 create h.264 .mp4 files that Quicktime doesn’t support.


Comments are closed as this blog post is now archived.

Lines, paragraphs break automatically. HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

The URI to TrackBack this blog entry is this. And here is the RSS 2.0 for comments on this post.