I would like to share what has been FOR ME the best way to re-encode MKV into WVC1. It combines aspects of impimpin206 and chrislynch's tutorial here at xbox-scene, uanime's tutorial and Jaswah's (special thanks) instructions over at HDBits. Keep in mind, I only re-encode the MKVs that won't stream via Transcode360. You should avoid doing it at all whenever possible.
- Install and configure TMPGEnc 4.0 Express, Haali Media Splitter, CoreAVC, AC3Filter, MediaInfo, MKVtoolnix, and FFDShow EXACTLY how chrislynch suggests.
- Install Avisynth to load the video into TMPGEnc. That annoying stutter is unavoidable when loading the MKV directly, and messing with the framerate doesn't work and I would personally avoid it.
Create the following avs script in notepad and save it as .avs:
Directshowsource("Filename.mkv", fps=23.976, audio=false)
Anyone using Vista64 like me or getting an error when loading the avs file needs to download and install the YUV codecs found here:
http://www.free-codecs.com/download/Helix_YUV_Codecs.htm.
- Load the audio file DIRECTLY into TMPGEnc. Loading the audio directly is the only reliable way to do it... and it's hassle-free. This way there is no need to demux the AC3 or convert DTS to AC3.
- If you want subtitles, extract them using chrislynch's tutorial. I prefer to use MKVEWizard instead of MKVExtractGUI. TMPGEnc cannot handle .ass (ha ha) files, so use Subtitle Workshop to convert them to .srt. Open the .ass file and match the movie's framerate, then Save As a SubRip by doubleclicking it and import the new .srt into TMPGEnc.
- If you want the highest possible visual quality, you'll want to use the WMV9 PowerToy by Alex Zambelli. It configures the advanced properties of the WMV9 encoder through registry settings. It is the preferred way to encode over at HDBits. You can find more info and settings here:
http://forum.doom9.org/showthread.php?t=123812. I use the avg pc settings suggested by sportcenter:
Lookahead = 16
Loopfilter = On
Motion Search Level = Auto w/ Integer Chroma
Motion Search Range = Auto
Motion Vector Cost = Dynamic
B-frames = 1
Don't even think about the INSANE settings. Stick with the settings above or the better preset. Adjust the Powertoy settings before you launch TMPGEnc.
- Using the settings above, I encode using 1 pass CBR and have gotten great results. I have also used 2 pass CBR and not really noticed any difference. 2 pass CBR will theoretically produce better quality, but will take longer. I only got dropped frames once using CBR on a really complex scene from episode 1 of Planet Earth, when thousands of birds were flying around. I'm not going to get into the CBR v VBR debate, so test them both, do some research and use whatever you want.
- On the Other tab is a +speed/+picture quality performance slider. Take advantage of this setting by moving the slider all the way to the left. If the imperceivable drop in picture quality is not worth the cutting the encode time, then put it back to where it was.
Thanks again to chrislynch for putting together the most detailed and noob friendly guide on the net. It was a great help that inspired me to research (doom9 forums), experiment and come up with a modified solution.