Articles - > MeGUI H.264 Conversion Guide

Printer Friendly Version Printer Friendly Version

User Rating:
(2 votes)
Details / Vote Now

User Comments:
mrpijey: Excellent guide! The only problem I...
More / Post Your Comments

Page Select:

1   2   3   4   5   6   7   Next Page

Categories:

Page 1 of 7: Introduction and Installation

MeGUI is one of the newer tools that has been designed with H.264 encoding in mind, while supporting other types of conversion, such as XviD. This guide shows you how to encode a H.264 (MP4) using MeGUI from a DVD as the primary example (instructions for converting other types of video files are also included).

Update: There is now a version of this guide for encoding Xbox 360 compatible H.264 files, also using MeGUI. Read our Xbox 360 H.264 Conversion Guide to find out more.

This guide is aimed at intermediate users, basically users that are familiar with DVD conversion/backup and want to experiment with H.264 and MeGUI. As such, basic knowledge of DVD ripping and conversion is required, although brief instructions will be provided in any case.

Software you'll need (all freeware):

Step 1: Installation

If you're using Windows XP, the first thing you need to do before you can even install MeGUI is to download and install Microsoft's .NET Framework version 2.0. It's a fairly large file and installation could take more than half an hour. If you're already using Windows Vista or 7, then the .NET Framework 2.0 is already installed.

The next thing you need to download and install is AviSynth.

If you're using Windows 7, because Microsoft now includes their own codecs pre-installed with the OS, this interferes with the way MeGUI works and you'll need to install compatible codecs (for example, ffdshow) and use the Preferred Filter Tweaker for Windows 7 to change the settings so that the Microsoft codecs won't be used within MeGUI. You can download and install ffdshow (remember to choose the 64-bit version if you're using 64-bit Windows), and then you can download and run the Preferred Filter Tweaker for Windows 7 tool individually, but if you're starting with a brand new Windows 7 system, you might want to install the K-Lite Codec Pack, which works well with MeGUI (I recommend the Full version of the codec pack). If you're using 64-bit Windows (Vista or 7), then you should also download and install the K-Lite 64-bit add-on pack after you install one of the K-Lite packs (Full or Mega). The advantage of using the K-Lite pack is that it installs both ffdshow and the Preferred Filter Tweaker for Windows 7 tool, and in a configuration that is tested to work well.

In any case, once Preferred Filter Tweaker for Windows 7 has been installed, start the tool and in the section where you configure the preferred DirectShow decoding filters for Windows 7, you need to make sure at least the "H.264" option is set so that ffdshow is used, instead of the Microsoft codecs (for those experimenting with VC-1, you need to set its settings to ffdshow as well). If you're trying to load or encode any video format in which MeGUI appears to hang, or give you an error in relation to AviSynth, then you can come back to this tool and ensure the video format is using the ffdshow codec, and not the Microsoft one. Press "Apply" to apply the changes and then exit the application.

Preferred Filter Tweaker for Windows 7


You can now go on and download MeGUI.

Install MeGUI. Start it up and most likely, it will prompt you to update the software used by MeGUI - click "Yes" to launch the update Manager.

MeGUI: Update Prompt


MeGUI: Updater


Press the "Update" button to start the update process - MeGUI will automatically download and launch the install for the required software. Note that when MeGUI asks you to import H.264/XviD/Audio/... profiles, right click and select "Select All" to import all of them (overwrite existing ones if asked). You will most likely get a "1 file had problems" error, this is because the "neroaacenc" software cannot be downloaded automatically from MeGUI. To download it, go to this page, and download the ZIP archive. There are several files in the ZIP archive, but the files we need is NeroAacEnc.exe. Extract the .exe files to your "megui\tools\neroaacenc" folder (eg. "c:\program files\megui\tools\neroaacenc\win32\neroaacenc.exe"), creating one if it does not exist.

When all the updates are completed, you can now close the MeGUI updater.

If you've extracted neroaacenc, you might need to access the "Settings" option from the "Options" menu, and go to the "External Program Paths" section. For "NeroAacEnc", use the browse button to locate where you extracted the neroaacenc executable file (eg. "c:\program files\megui\tools\neroaacenc\win32\neroaacenc.exe"). Press "Save" to close the settings window.

Also, MeGUI often doesn't update to the latest x264 version, so you will have to do this manually. First, from within MeGUI, go to the "Tools" menu and select "Settings". Go to the "Program Paths" section and see where MeGUI accesses the x264.exe file.

Then go to our x264 software page and check the latest version - if it is newer than the version listed in MeGUI, download and save the x264.exe to where MeGUI accesses the x264.exe file to replace the old file (usually c:\program files\megui\tools\x264\x264.exe - you might want to keep a backup copy of the old version of x264, just in case the new version isn't compatible with MeGUI). Note that a 64-bit version of x264.exe is also available to download here.

 

 

 


1   2   3   4   5   6   7   Next Page

Article Navigation:

Page 1: Introduction and Installation <--
Page 2: DVD Ripping
Page 3: D2V Creator
Page 4: AviSynth Script Creator
Page 5: Video Encoding Options
Page 6: Audio Encoding Options
Page 7: Cutting, Bitrate Calculator and AutoEncode

Revision History:

Version 1.2:
  • Date Updated: Jan 9, 2010
  • Updated guide for latest version of MeGUI
  • Updated guide for Windows 7 compatibility
Version 1.1:
  • Date Updated: Oct 9, 2007
  • Updated instructions for MeGUI 0.2.6, for parallel execution using multiple workers
Version 1.0:
  • Date Updated: Nov 24, 2006
  • First public version

User Rating:

  Average Rating: Your Rating:
Registered Users: (2 votes)
Non-Registered Users: (93 votes)

User Comments:

Excellent guide! The only problem I have with this approach is that you can't control the output resolution very efficiently (meGUI reports 16:9, but outputs the video in 4:3 anyway, and if manually resized the output is skewed anyway) and the output video is extremely washed out compared to the original. I played back the resulting mp4-file in Quicktime, VLC and other players and it's the same on all, blacks are grey. The entire picture has a LOT of brightness.
Posted by: mrpijey, 15:39:29, Sep 13, 2007


Thanks, I've been trying to learn how to use this tool. There is a doubt in using autoencode: I'm not sure the profile I chose is used or not. for example, in the main input interface, I chose MKV as container and then the video profile. But when I press autoencode, the window pops up did not show any chosen profile while the container is MP4 as default... It feels the the settings in main input interface are ignored?
Posted by: Astro_Toy, 03:26:58, Jan 19, 2008


Astro_Toy: Rest assured that the profile settings are being used. However, you do need to separately select the container (MKV, MP4) since this setting is not part of the profile.
Posted by: DVDGuy, 03:38:58, Jan 19, 2008


I keep getting "error" for audio when I start the encoding. Any ideas? I tried .mkv & .mp4 & I tried both the 5.1 audio track & the 2.0 track from my DVD.
Posted by: manu08, 18:32:33, Aug 25, 2008


Check your application routes in settings, Had that same problem encoding with NeroAAC and it was because I didn't have right route to the codec. Hope this helps. :-)
Posted by: Reizic, 13:22:40, Oct 16, 2008


I'm getting this error:"C:\Program Files\megui\tools\x264\x264.exe: unknown option -- nal-hrd" when I encode using the SA Blu Ray profile. I made up my own blu ray profile without the --nal-hrd option. It is running now but I have to wait another 9 hours for it to finish (I have a crappy 1.8 GHz Athlon PC) and see if the result is any good. In the meantime, can you point me to any fix to this error?
Posted by: Sibenik, 08:57:39, Dec 7, 2008


Sibenik: That profile works for me. Are you using the latest version of x264 as updated through the MeGUI updater (as opposed to downloading the latest x264.exe from the official site)? Try that if you are still getting this error.
Posted by: DVDGuy, 15:08:33, Dec 7, 2008


ok i keep getting an error when trying to use the avisynth creator it is a " Unable to render the file. You probably don't have the correct filters installed." all of the options are greyed out other than the Video input the avisynth which is set at "*scratchpad*" with the config button available and also the video output is available. I've followed this tutorial but it doesn't address this issue but i might have missed something. Any thoughts guys?
Posted by: Roguecat, 17:11:56, Jan 24, 2009


Roguecat: Sounds like you don't have the right filters installed. Make sure you are able to playback the file in Media Player Classic, and it is highly recommended that you use ffdshow, as it works very well with Avisynth
Posted by: DVDGuy, 18:56:56, Jan 24, 2009



Comments: