Page 2 of 2: Selecting the Source + Encoding Settings

Step 4: Selecting the Source

Alright, we're finally getting to the heart of the VidCoder. This step will cover loading your input file into VidCoder.

VidCoder


The screenshot above shows the main VidCoder screen. The layout is pretty straight forward, the top section allows you to load in the file/disc you want to convert, then you can select the destination, choose an encoding profile or custom settings, and finally, there's the work queue, a list of all conversions one after the other that you can schedule and run.

In the "Choose a video source" section, you have three input options - choose to convert a video file (for example, AVI), choose to convert an already ripped or a hard-drive based DVD or Blu-ray folder, or choose to convert straight from a non encrypted discs. As mentioned earlier, it's recommended that even if your disc is unencrypted, you should copy the contents to your hard-drive first (to a DVD/Blu-ray folder), so that it spares your optical drive from hours of constant reading, which may shorten the lifespan of the drive.

VidCoder -> File -> Enqueue Multiple Files


There is actually a fourth input method, shown in the screenshot above, the "Enqueue Multiple Files" option from the "File" menu. Here, you can load in multiple files and they will automatically be added to the work queue. This seems to be the best way to convert multiple files, but note that doing it this way means all the files will use the same encoding profile/settings, so if you need different settings for each file (perhaps one will be better quality than the others, for example), you're better off loading the files one by one by using the "Video File" option under the "Choose a video source" section. But if you do need multiple files with the same encoding settings, than you will have to configure the encoding settings and/or choose an encoding profile before you load in files using the "Enqueue Multiple Files" option, so continue reading.

Depending on which type of input you chose (file, DVD or Blu-ray), the "Source" section will now show up with information about the input, as well as giving you the option to select which sections of the input you plan to convert. The screenshots below show what the section looks like with a file, a DVD and a Blu-ray source loaded.

VidCoder - Source: File


VidCoder - Source: DVD


VidCoder - Source: Blu-ray


Let's go through the "Source" options. The "Video" option allows you to choose which sections of the input video to convert. For discs, or ripped DVD/Blu-ray folders, you can select which "Title" to convert - usually the longest title would be the main movie (and this is the title VidCoder automatically selects for you), with trailers and bonus features occupying the other titles (see screenshot below - the 2:20:06 is the main movie, while the others are probably trailers).

VidCoder - Video: Titles


For everything else, you can choose which chapters (if the input supports chapters) to convert, or select by time (in seconds), or even by frames. This means you can easily choose just the right scene to convert, if you don't want to convert the whole thing (very handy for YouTube style remix projects). Note that the output filename will change based on the settings you make here, for example, if you only choose to convert Chapter 24 and 25 from Title 2, the output file name will become "SourceName Title 1 - Chapter 24-25". Nicely done, VidCoder.

The next option is to select which audio track to include. You can include more than one audio track, by the way, by clicking on the "Add Track" button, which then brings up a second audio drop down box. Click on the blue "cross" icon next to the drop down box to delete the audio track. Note that you can have anywhere from zero (so no audio) to even more audio tracks then are present in the original source (so use the same audio track more than once, if that's what you want). Go crazy, and select your audio track(s).

Subtitles can either be read from the original source (except for Blu-ray movies), or you can load in an external .srt subtitle file. By default, no subtitles are select, but if you want subtitles, click on the "Edit" button to get started, and you'll see the screen below.

VidCoder - Subtitles


The "Track" drop down box allows you to select, from the input source, which subtitle track to include in the output. The default "Foreign Audio Source" option is a Handbrake feature that selects only the subtitles that are for foreign language parts of the movie. Otherwise, you can manually select a language/track to include. The three options next to the drop down box allows you to set the current subtitle track as the default one in the output ("Default" option), to only display forced subtitles from the current track ("Forced Only" option - this usually means small bits of translated foreign languages), and to burn-in the subtitle into the video so it can't be turned off ever ("Burned In" option).

The concept of "foreign audio search" and "forced subtitles" is a bit tricky, so I should probably explain in more detail how it works. On certain subtitles, like on certain DVDs, parts of the subtitle can be marked using the "Forced" flag, which means that even if you don't turn on subtitles, these parts will be shown. This is usually for scenes in a movie that contains a foreign language, or for certain captions (for example, captions like "10 years later ..."), where subtitles are forced to be displayed. Now, some movies do this via burnt-in subtitles as opposed to forced on subtitles, and other discs don't use the Forced flag, and instead, have a totally separate subtitle track that only contains the forced subtitles.

The "Foreign audio search" option tries to automatically scan and find forced subtitles, but it only works if the "Forced" flag is used. Otherwise, you'll have to manually select a subtitle track in the right language.

So this actually makes it quite tricky to convert movies that have these types of subtitles, and if you want to be absolutely sure that you don't end up with a movie that's missing crucial subtitles, or select the wrong subtitles, than a little bit of trial and error may be required (select a short scene with these types of subtitles, and then try to convert and check to make sure the subtitles are included). The preview option helps and does show subtitles, but it's a bit tricky to get to select the exact scene to preview unless you set a ton of picture preview frames (see Step 3: Options -> Advanced tab).

Anyway, you can add multiple subtitle tracks here by using the "Add Subtitle" button (or remove an added subtitle track by click on the blue "cross" icon). Alternatively, you can import your own .srt subtitle files. Press "OK" when you're done.

Step 5: Output Destination and Settings

Under the "Destinations" section, simply enter in where you want your output file to be saved on your computer.

The "Encoding" section is really the meat of VidCoder, and it is here that you select the output quality, the file size, audio type and pretty much everything else about your output. To make it easy, you can simply select one of the pre-saved "Presets" ("Normal", "High Profile", and one of the presets for Apple devices, such as the iPad, iPhone ...). So if it's quick and dirty you want, and you don't really care about the output file size, then the presets are for you (so select one and skip to step 6). On the other hand, if you want to custom tailor your encodings to exact specifications, to select between MP4 or MKV, or to even create your own presets, read on.

First of all, select a profile that's closest to what you want, normally I would select the "Normal" profile, and then press the "Settings" button. The following screen should show up (minus the red highlights).

VidCoder - Encoding Settings: Picture


The first section we'll examine is the one marked in red in the screenshot above. It's here that we select which type of container format we use, MKV or MP4. I don't want to go into the merits of either format here (that's a whole other guide), but if you're already this far, then you probably know which format you need (to summarise, MKV is more of a computer format, while MP4 is supported by more portable devices, such as Apple devices and smart phones, tablets, game consoles). If you select "MKV", there is only one additional option to the right, and that's to include chapter markers found in the input video, and place them in the output video as well. For "MP4", in addition to the chapter marker option, there are a few more options as you can see in the screenshot above, and they are:

  • Large file support: Checking this option enables MP4 files larger than 4GB, but many devices, such as the iPod or PS3 do not support these kinds of files
  • Web optimized: Choose this if you need files that can be progressively loaded, such as via video streaming
  • iPod 5G support: Adds a marker for older iPods that has to be present before they will allow H.264 video to sync

Below these options, we have the "Picture" tab. Here, you can resize your video, as well as crop out areas (usually the black bars). With your input video loaded, the input and output resolution properties are shown for you here, in blue and green. Starting further down below with the Anamorphic options, the "Strict" option basically attempts to replicate what a DVD does when it comes to storing and display anamorphic content, and so enabling this option actually disables the resizing options, but you may run into problems with certain encoders not liking the automatically calculated height value (if it's not a multiple of 16, some encoders, like x264, cannot perform at optimal efficiency). Selecting the "Loose" anamorphic option re-enables the ability to resize the video, but only the width, as the height is automatically calculated to ensure it is a multiple of 16. "Custom" allows you to specify custom parameters, and it's not recommended unless you know what you're doing. Or you can even turn Anamorphic encoding off. Recommendation? Strict when you're not resizing, and Loose when you are. If you really need to know more about Anamorphic encodings using the Handbrake engine, please refer to this guide.

Cropping is normally done automatically, so choose the "Automatic" option and forget about it.

VidCoder - Encoding Settings: Video Filters


Moving on to the next tab, "Video Filters", here we can select the types of filtering we may need to do for the video. The recommendation here is to leave both "Detelecine" and "Decomb" to "Default", as it usually does no harm, and if you do come across video inputs that require this (eg. TV shows and animation for "Detelecine", and interlaced content for "Decomb"), they will be applied when needed. If you must need to know more, than here's the Telecine and Deinterlacing guides that try to explain more about what these options do.

It's best to leave "Deinterlace" disabled, because we've already got "Decomb", and that already tries its best to removing the combing effect you get from interlaced sources, and if there's no combing effect, you don't need to waste time and resources deinterlacing anyway. Similarly, "Denoise" probably should remain off, as this destroys details for the sake of a bit more efficient encoding (efficient as in use lower bitrates). Use only when the source is poor in quality or as directed by your doctor. "Deblock" tries to do away with blocking and artifacts from poor quality sources. Note that the majority of DVDs and Blu-ray's that you'll be converting definitely do not belong to the category or "poor in quality".

VidCoder - Encoding Settings: Video


The "Input" video specs are shown in the blue coloured box (for example, the screenshot above tells us we have a PAL DVD at 25 FPS). Despite this simple looking tab, this is actually where we determine the quality of the output. First of all, for "Video Codec", it is recommended you use "H.264 (x264)", as this is the more advanced codec and will produce better quality encodings (it's worth noting that none of the included presets in VidCoder uses the "MPEG-4 (FFMpeg)" option). The "Framerate (FPS)" option should be set to "Same as source", although if you're experiencing audio sync issues (like I was when trying to play an encoded file on the PS3, although the same file played perfectly on the PC), I would specifically select a framerate here, as opposed to using the variable framerate mode when you choose "same as source". Same if you find playback jerky, choose a set framerate to avoid using variable framerate mode.

"Quality" is the most important setting here. "Constant Quality", allows you to set the quality of the output, without any considerations being given the final file size. This should mostly be fine, except when you need to encode video to fit a certain space constraint. If you do need an output file of a particular size, and don't mind encodings taking longer due to the need to have two passes, select "Target Size" or "Avg Bitrate" (both settings take into account the length of your video, including any chapter/time selections you've made in previous steps). The "Target Size" setting is also for the entire output file, not just the video stream (so if you added a lot of audio files, your video quality will start to drop, even if you kept the same target size). Recommendations? If you use CQ mode, then something around 20 plus or minus 1 will be more than fine for SD sources. For HD sources, you should aim for a setting of around 22 plus or minus 1. Note that the CQ setting can use decimals, so 19.25, is acceptable for example. The scale is logarithmic, so don't go crazy.

As for target size of average bitrates, I get asked recommendations for this when using H.264 a lot, so I'll probably just share some general recommendations. For your typical 2 hour DVD, you should be looking at around 1400 MB, or an average bitrate of around 900 kbps. For 2hr 720p content, for good quality stuff, aim to fill a DVD-5. For 2hr 1080p stuff, aim to fill a DVD-9 at the very least. If you want the best quaity, most efficient encoding, then you should be using CQ anyway (with a sensible setting of 17 for best quality, and no more than say 24).

VidCoder - Encoding Settings: Audio


On to the "Audio" tab. You can have multiple audio tracks, and if you selected the "High Profile" preset and the "MP4" container, you would have noticed that it includes a pass-through AC3 track. The reason for this is that, most receivers do not actually support AAC, and so having a backup AC3 track is always a good idea. AAC is more efficient, but 5.1 AAC is less commonly support on hardware. So you really need to know what your output file will be used on. Take the screenshot above, which is for a Blu-ray to a high quality MP4 encode, which will most likely be played on HTPCs and the like, and so it's not as important to include a 2-channel AAC file as say for a video aimed at portable devices.

So after deciding on what you need, select the target stream to convert (if you have more than one audio stream selected for the input), select a codec, mixdown (choose 6 channel discrete for 5.1 audio, or one of the 2.0/2.1 channel downmix options). "Sample rate" should be kept as "same as source", because there's usually no good reason to change this. "Bitrate" is difficult to recommend, because there are so many different audio formats. For high quality audio, with AC3, 384/448 kbps is most commonly found on commercial DVDs. For MP3, 160 kbps for every 2 channels seems to about right for high quality audio. AAC is more efficient, so 128 kbps for every 2 channels is good enough.

VidCoder - Encoding Settings: Advanced


And so, finally, the "Advanced" tab. Looks complicated? It is. It would take a couple of guides to explain all of the options, and so it's really way beyond the scope of this guide, so leave the settings alone.

If you've made changes here, you may want to save these settings to a new profile (while keeping the original VidCoder profiles unchanged for future reference). To do this, simply click on the "Save As" button at the top of the window and enter a new name for the profile. Once this is done, you can select this new profile in the future for your encodes and skip having to change the settings altogether.

Close the Settings window.

Step 6: Preview, Encoding and the Job Queue

It's always wise to preview your output before starting the hours long encoding process. Pressing the "Preview" button launches a new window that contains the X number of preview pictures that you selected way back in Step 2. More useful is the "Play Preview Clip" button, which when clicked, will quickly generate a preview video clip with your selected audio and subtitles options. My recommendation is to always do this, and always look at the preview pictures to at least make sure you're converting the right title, and that the output quality is good enough, and that the audio/subtitle options are correct. For example, while generating a sample video to help me write this guide, I nearly selected the wrong Blu-ray title, as VidCoder automatically selected the longest title, which was not the movie (it included the "Maximum Movie Mode" pop-ups, which made the title about 21 minutes longer than the actual movie). Had I not checked the preview pictures, I would have ended up converting the wrong title!



We're nearly finished now. With input selected, settings set, if you want to start encoding immediately, simply click on the "Encode" button. Or if you want to set up a few more jobs, then use the "Add to Queue" button, and when you're finished adding in jobs, also press the "Encode" button to start the job queue. (And if you wanted to batch convert a bunch of files with the same setting, use the File -> Enqueue Multiple Titles option now).

The job queue section lists all the currently working and queued jobs, with columns showing the properties of the encoding job. You can even customize the columns right right clicking on this area. When encoding is in progress, a progress bar is also present, and you can pause or stop the current job.

VidCoder - Job Queue


And with that, we're done :).

Got more questions? Post them in our MPEG-4 AVC (H.264) Forum and get them answered by other expert users.

 

 


  1   2