Hello to eveyone, I think it's time to share the "perfect" settings to use with x264, to obtain a BD compliant file; what you will get is a .264 file that could be used with any authoring software - I use MultiAVCHD; also Easy BD Light is a good software, but the latter doesn't allow you to make menus... I must admit lately I'm using only TSmuxeR, that, even if it doesn't make menus, it seems to produce good compliant files.
Thanks to many OT members, in particular Chewtobacca, that helped me to find out these settings!
NEW SETTINGS:
OLD SETTINGS:
replace 25000 with the desired average bitrate, 24 in the keyint with the video framerate (24 would do for 23.976 and 30 for 29.97), Input_File.avs with an AviSynth script (or a video file), and Output_File.264 with the final x264 file.
You can use them directly with the x264 command line - just copy and paste pass 1 settings then, when finished, copy and paste pass2 settings - or save as .bat file (thanks to Feallan for the idea), or use them inside some GUIs - the best so far IMHO is Simple x264 Launcher, but using any software that is not the original x264 command line could add some further setting that could lead to have a not-compliant file, so be aware, you are warned! And, do NOT delete any temp files you get after pass 1 (.stats and .stats.mbtree) because they will be used by pass 2!!!
HINTS:
Thanks to many OT members, in particular Chewtobacca, that helped me to find out these settings!
NEW SETTINGS:
Code:
x264.exe --pass 1 --bitrate 25000 --bluray-compat --level 4.1 --preset veryslow --tune film --keyint 24 --sar 1:1 --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --b-pyramid none --weightp 0 --colorprim bt709 --transfer bt709 --colormatrix bt709 --merange 24 --stats ".stats" --output NUL "Input_File.avs"
x264.exe --pass 2 --bitrate 25000 --bluray-compat --level 4.1 --preset veryslow --tune film --keyint 24 --sar 1:1 --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --b-pyramid none --weightp 0 --colorprim bt709 --transfer bt709 --colormatrix bt709 --merange 24 --stats ".stats" --output "Output_File.264" "Input_File.avs"
OLD SETTINGS:
replace 25000 with the desired average bitrate, 24 in the keyint with the video framerate (24 would do for 23.976 and 30 for 29.97), Input_File.avs with an AviSynth script (or a video file), and Output_File.264 with the final x264 file.
You can use them directly with the x264 command line - just copy and paste pass 1 settings then, when finished, copy and paste pass2 settings - or save as .bat file (thanks to Feallan for the idea), or use them inside some GUIs - the best so far IMHO is Simple x264 Launcher, but using any software that is not the original x264 command line could add some further setting that could lead to have a not-compliant file, so be aware, you are warned! And, do NOT delete any temp files you get after pass 1 (.stats and .stats.mbtree) because they will be used by pass 2!!!
HINTS:
- these settings are good for 1080p video
- pay attention to the BD size: actual ones are 23.3GB for BD-25 and 46.6GB for BD-50
- allow about 7% overhead for the .m2ts container - for example, total file size (video+audio+subs) excluding eventual menus would be around 21.75GB for a BD-25, and 43.55 for a BD-50
- to retain grain, better to not go under 20/22mbps for 2.35:1 and 28/30mbps for 1.78:1/1.85:1
- max bitrate allowed for BD (video+audio) is 48mbps, so if audio tracks total bitrate is over 8mbps, you should lower video bitrate accordingly, in particular pay attention to --vbv-maxrate
- to improve speed, you can use for pass 1 a "simpler" version of the final file, for example without noise reduction, grain plate, color grading, but it should be otherwise identical - same frame numbers, same resolution etc.
Sadly my projects are lost due to an HDD crash...
Fundamental Collection | Vimeo channel | My blog
Fundamental Collection | Vimeo channel | My blog