Avidemux

Creating MP4 Files

Software name : Avidemux
Software version : 2.4

This chapter will show you how to create an MPEG-4 file from an existing video file.  There are many reasons why you may need to create a MPEG4 file from an existing video file - to make a downloadable preview file for a longer movie that can be viewed in VLC player, for example.

Before we start however it is useful to note that MPEG4 files created by Avidemux won't play in a Quicktime ('QT') player (which makes them unsuitable for wide distribution as podcasts). There are numerous posts on the Avidemux forum about this issue and hopefully a future version will solve this problem. If you want to create a QT compatible file you'll have to use the softwares known as SUPER (Windows only), or FFMPEGX (MacOSX) and FFmpeg in Linux. There is help elsewhere on these applications.

I will assume that you already have a video file which you want to turn encode.

If you don't already have a suitable video file, then you may need to either :

  1. export a file from a video editing programme
  2. capture a DV tape to a file on your hard drive

Opening the Original File

So, assuming you have a file ready to go...Open the video file you already have. This should be as high quality as you can - this is because every time you convert a video file into another type of file quality is lost. So you want to start with the highest quality file as possible to ensure the newly created file is the highest quality it can be. Ideally it will be a DV file exported from a video editing program or captured from a camera or an MPEG-2 file or VOB from a DVD.

Click on 'File' and then on 'Open'. You will see a window appear that you can use to browse your computer to find the file you want. Highlight the file you wish to open and either double-click on it or press 'Open'.

Encoding Settings

When you have opened a video, copy the settings shown below by selecting them from the drop down menus on the left. Select MPEG-4 AVC (x264) from the Video drop down menu. Select AAC (FAAC) from the Audio drop down menu. Finally select MP4 from the 'Format' list at the bottom of that section :

avide_mp4_1.jpg

If you see neither of these options listed then try another MP4 option for video or another audio option (eg. MP3).

Deinterlacing

The next thing that we might want to do to the video file is to add a deinterlace filter. This would be appropriate if you had a video that was edited from a DV camera and is still interlaced.

There is help elsewhere on how to Deinterlace.

Screen size and Bitrate

The screen size and bitrate you use really depends on what you want to do with the MP4 file you are creating.

There is help elsewhere on how to change screen size and bitrate. 

Saving the file

To save the file click on the 'Save' button.

save

You will see a pop-up box that may look a little like this:

save_box

Choose a place to save the file by browsing your computer using the list of folders displayed. Then in the name field:

save_name 

write in the name you want the file to be called and end the name in ".mp4". When you are finished press 'Save'.

You should see a box which lets you know how long you have to wait for the encoding to finish and shows the encoding progress.

You'll get a success message if the encoding works correctly. You can now play the file in a media player.