View Full Version : Encode different scenes at different crf


ScarAce1989
29th May 2015, 18:25
Hi,

Is it possible to encode different scenes, encode them at different crf and append the scenes after encoding to 1 file? If so, do I need to cut the video file in different segments first before encoding or can I use AvsPmod to make a script?

captainadamo
29th May 2015, 18:29
Use the zones (http://en.wikibooks.org/wiki/MeGUI/x264_Settings#zones) parameter.

ScarAce1989
29th May 2015, 18:49
Use the zones (http://en.wikibooks.org/wiki/MeGUI/x264_Settings#zones) parameter.

Thanks! :)

Selur
29th May 2015, 20:32
also use might want to use --stitchable

hello_hello
30th May 2015, 10:44
Yes, using "--stitchable" in the x264 command line is a good idea if you want to append video.

Rather than mess around with zones, I create multiple copies of a script and add Trim() to the end of each so each copy encodes a specific section. They can be encoded with different CRF values and appended later with MKVMergeGUI. That way, if I happen to (for example) break a script into six sections and after encoding each section I want to try a different CRF value for one of them, I can encode it individually again.

http://avisynth.nl/index.php/Trim

I start each section at the beginning of a scene change to make it harder to confuse myself. :)