[ x264 Encoding Guide ]
Install the latest stable versions of the below:
[ AC3 Filter ]
[ AviSynth ]
[ CoreAAC ]
[ CoreAVC Professional Edition ]
[ MeGUI ]
[ Nero AAC Encoder ]
[ TV-IRC Profiles ]
[ XviD Codec ]
For additional help see the Help / Support / Hint & Tricks page
If you wish to provide encodes for #TV-Encodes see the Want To Be An Encoder? page
[ MeGUI ]
*NOTE* It is VERY important once installed MeGUI isn't moved to a different directory as this will effect your ability to update the program and will cause you problems in the future
- Start MeGUI
- The first thing MeGUI should ask you is to auto update, if this doesn't happen go to Options -> Update (Ctrl+U) and run the update program (this may take some time) if asked to import any profiles make sure none are selected and click ok
- Extract neroAacEnc.exe from the Nero AAC Encoder package into the MeGUI Tools subfolder
- Go to Options -> Settings (Ctrl+S) and then to Program Paths -> Audio and browse to where you extracted neroAacEnc.exe to and press save
- Next go to File -> Import Presets (Ctrl+I) and select TV-IRC.Profiles.zip and select all 4 profiles and press import
- Go to Workers -> Create new workers and create the appropiate amount of workers depending on whether you have a single, dual or quad core (i.e. 1 per core), the more workers the more encodes you can run simultaneously
- If you're encoding from a MPG / VOB Source you will need to Demux MPG / VOB Source first
If not you can go straight to Video Encoding
[ Demux MPG / VOB Source ]
- If encoding from a MPG source go straight to step 3
- Rip the DVD using the DVD Ripping Guide
- Go to Tools -> D2V Creator (Ctrl+2) load the file you want to encode from
- Select the Demux all Audio Tracks option, check both the on completion loads file and close boxes
(click for larger image) - Press the queue button go to the Queue Tab from the main screen and press Start
- Once job complete go to Video Encoding section
[ Video Encoding ]
- Go to Tools -> AviSynth Script Creator (Ctrl+R) load the file you want to encode from (d2v file if MPG / VOB Source)
- From the Avisynth profile drop down list select TV-IRC AviSynth profile

(click for larger image)
This wont change anything on the screen but if you go the Edit Tab you should see something similar to:
AVISource("D:\doctor.who.2005.s04e08.ws.pdtv.xvid-bia.avi", audio=false)
#deinterlace
#crop
LanczosResize(440,352) # Lanczos (Sharp)
#denoise
The line 'LanczosResize(440,352) # Lanczos (Sharp)' proves the resolution has been preset - If encoding from a none MPG / VOB Source go to step 6
- Go to Options Tab and check the Crop box and press Auto Crop button

(click for larger image) - Next go to the Filters Tab and press the Analyse button. This will determine if your source needs Deinterlacing or not

(click for larger image) - Now save the script
- Next a preview window will open. As we set the Display Aspect Ratio (DAR) via our own x264 Video Profiles there is no need to alter anything here, simply close the window
- From the main screen select the appropiate Video Profile TV-IRC 16:9 (widescreen) or TV-IRC 4:3 (fullscreen) from the Video Encoder Settings drop down list

(click for larger image) - If you wish to only encode a segment or segments of a file see the Partial File Encode section on the
x264 Help / Support / Hint & Tricks page
[ Audio Encoding ]
- Click on the Audio Input button from the main screen and select the video file your encoding from (Demuxed Audio file if MPG / VOB Source)
- If you have done a Partial File Encode make sure you load the Cuts file
- Select the TV-IRC 56Kbps Audio Profile from the Audio Encoder Settings drop down list

(click for larger image)
[ AutoEncode ]
- Click on the AutoEncode button from the main screen and set Container to MKV and File Size from the drop down menu

(click for larger image) - Press the queue button go to the Queue Tab and you should have something similar to the image below, if prompted with any of the messages below, check 'don't show this message again' and press yes
Your AviSynth clip has the following problem:
AviSynth clip doesn't have mod16 dimensions:
Width: 440
Height: 352
This could cause problems with some encoders, and will also result in a loss of compressibility.
I suggest you resize to a mod16 resolution.
Continue anyway?
OR
Your AviSynth clip is in the wrong colorspace, 1610612740.
The colorspace should by YV12. Do you want me to add ConvertToYV12() to the end of your script?

(click for larger image) - Press Start and sit back while the encode takes place
In #TV-Encodes the general file size rule is:
| Run Time | File Size |
| 20 Mins | 50mb |
| 30 Mins | 65mb |
| 40 / 45 Mins | 100mb |
| 60 Mins | 140mb |
If your show runtime isn't listed above use the Bitrate Calculator section on the
x264 Help / Support / Hint & Tricks page
The encodes in #TV-Encodes are generally between 310 and 340kbit/s
