Encoding Bluray with x264: P1 - Intro & Avisynth


This guide is my documentation of introduction into the encoding process.  As video and audio encoding requires a confusing and frustrating learning curve, I hope to simplify the process for others. Prior to this writing, I have had very limited experience, so I will continually edit this guide as I find more efficient techniques. Before starting please note that encoding is a very time and resource taxing procedure. Computers will take over 32 hours to encode a 1080p movie with the recommended profile here depending on encoding settings. I do not recommend encoding on any laptop/netbook or desktop with lower specs then an Intel Core 2 Quad processor.  On lesser computers you may not be able to multitask or even move your mouse until encoding is complete, if the computer doesn't freeze by then. Dedicated graphics is negligible because the encoder used in this guide doesn't support GPU acceleration. It took about 31 hours to encode the movie in this guide at an average of 1.17 FPS on a Intel Core i7 930 @ 4.2 Ghz with 6GB of RAM and the 7200rpm HDD. Whatever computer you use, ensure that it has adequate cooling.

You will need:

Microsoft Windows XP, Vista, or 7




For 10 bit x264, download both 32 and 64 bit 10-bit .exe files. Rename the 32-bit file x254.exe and the x254_64.exe. Click and drag both files into the x254 folder in the MeGUI's Tools folder and select the option to copy and replace the two original files. You are now encoding with 10 bit depth.





Note: Optical Disk ripping is not covered in this guide for legal purposes.

Optional Software, but well worth it.



Now we will encode the video.

Load MeGUI.

Click Tools > AVS Script Creator (Ctr R)


In the I/O tab, input the main movie, found within BDMV > STREAM (the largest .m2ts file) In the following popup menu, use Direct Show Source as your preferred way to open the file.


In the Avisynth profile, click config.
At the very end of the dialogue box, copy and paste this code: ConvertToYV12(). This will make the color space of your video YUV, which improves your encode.


In the filters tab, under deinterlacing, check the box Source is Anime. For our purposes, we will not touch anything else. At the bottom of the page, check the box On Save Close and Load to be Encoded. Remember to save the .avs file in another predesignated folder, not the original Stream folder!


Now we sent back to the original MeGUI interface. The .avs and output files are already loaded. Remember to select MKV as the file format. Finally, click config button for the encoding settings.

No comments:

Post a Comment