View Full Version : Problem with x264 zones
Ceppo
26th February 2022, 22:04
I used this but it fails.
x264.exe --output lossles.mkv --input-csp i444 --output-csp i444 --crf 18 --preset veryslow --zones 2158,34644,crf=0 "New File.avs"
So either you can't mix lossless and lossy encode or my zone grammar is wrong. Which it is?
MasterNobody
26th February 2022, 23:12
What do you mean by it fails? What is exact output (error) of this command line?
Ceppo
26th February 2022, 23:21
That the zone is ignored. It uses the main settings. Sorry, I was not very detailed.
LoRd_MuldeR
26th February 2022, 23:26
According to the manpage:
--zones <zone0>/<zone1>/...
Tweak the bitrate of regions of the video Each zone is of the form
<start frame>,<end frame>,<option> where <option> is either
q=<integer> (force QP)
or b=<float> (bitrate multiplier)
...the option part of the zone has to be either "q=<integer>" or "b=<float>", but not "crf=<integer>". So, yes, I think you zone grammar is wrong.
Ceppo
26th February 2022, 23:30
Thanks!
MasterNobody
26th February 2022, 23:31
Why do you think so? How do you check that? It wouldn't be lossless but it should have higher bitrate for sure.
Ceppo
26th February 2022, 23:34
Why do you think so? How do you check that? It wouldn't be lossless but it should have higher bitrate for sure.
Well from crf 18 to crf 0 the bitrate should skyrocket, that's how I checked. And the final file size is not "lossless size".
Balling
31st March 2022, 08:38
crf 0 is only lossless for 8 bit. For 10 bit -qp 0 should be used because crf 0 for high 10 is not lossless, high 10 does not supports lossless. BTW.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.