This guide assumes the reader already knows how to use MMD software and has three purposes:
I will be showing how to make use of Handbrake. Download the latest version from here.
Step 1: When you are satisfied with your video and are ready to render
Choose your resolution by going to View -> screen size. Suggested is 1920x1080.
Determine how many frames the video requires to reach the complete ending. Then go to file -> render to AVI, choose a name and click save.
Please note that any fps or resolution values will work just fine. Increasing/decreasing the FPS or resolution will also change the file sizes of both the raw video and the end result.
Standard values for fps: 24, 30, or 60. For this guide, we will choose 30.
Standard values for resolution: 1280x720 or 1920x1080. An alternate resolution can be chosen, such as 1024×576, 1152×648, 1366×768, or 1600×900. If your final video result is too large in file size, then consider dropping down to the next resolution.
Consider choosing AVI Raw as video compressor. This will require considerable disk space, but generally results in a higher quality end result.
Step 2: Open Handbrake and click on the Source button near the top-left corner. Navigate to and load your newly rendered video.
Choose your output destination.
Under Output Settings, make sure Container is set to MP4 and check the box for Web Optimized.
Step 3: Navigate to the Video tab and apply settings.
Choose Constant Quality, and set the CRF value. This value has a direct influence on both quality and file size. READ MORE HERE
For this guide, we will use a value of 16, but up to 23 can be used for decent quality. This has a direct effect on the final file size and quality.
Check the box for Use Advanced Tab Instead.
For smaller file sizes, select Avg Bitrate and enable 2-pass. 720p bitrate should be around 2500-3000, and 1080p should be around 3500-4000.
Step 4: Navigate to the Audio tab and apply settings.
Change codec to AAC (avcodec).
Change Mixdown to Stereo.
Choose a Bitrate. I suggest 128 or 160. This affects both the audio quality and the final size of the file.
Step 5: Navigate to the Advanced tab and apply settings.
Use the image to get a baseline to start with on changing these values. Please understand that encoding is a highly complex subject, and no two videos have the same settings for best results. Even for this example, these settings were not tested and/or changed to search for best results. Doing so is a process that can take days to find the absolute best settings, and may only end up being marginally better than what these settings already provide.
In the text box at the bottom of the tab, make sure to change the level to 4.2 by clicking in the box and adjusting manually.
(OPTIONAL) In my screenshot, you will see that I added a "threads=1:" to the start of my settings. This tells the encoder to use only one CPU core for this task. Why do that? Because it results in a very slight increase in quality at the expense of time.
If you want to play with these values, I HIGHLY suggest taking the time to research and find out what they actually do. This is a good place to start.
Step 6: When satisfied with current settings, click the Start button to begin encoding.
This process may take a long time, depending on your CPU. Please understand that proper encoding requires time. Trying to make it go fast results in lower quality.
When the process is complete, review your video to check the picture quality. When satisfied, you are ready to upload.
To be added