View Single Post
Old 5th September 2013, 13:03   #5  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by xxxyyyzzzz View Post
Recently I am learning the Rate control of x264. And I am confused about the CRF mode. From the source code of x264, I find the --crf has the same effect with QP. Then I set the --crf as 26, but the encoding result is terriable.
Can anyone tell me how to set the parameter --crf to get a reasonable encoding result?
Thanks!
The CRF value lives on the same scale as QP values, but that's only for convenience. It's purley an interface decision, so it could live (for example) on a 0.0 to 1.0 scale just as well.

In any case, you'll have to find the (maximum possible) value that satisfies your eyes.

And also note that the CRF value depends on your other settings too! The same CRF value with, for example, a different "--preset" does not necessarily give same quality.

See also:
http://git.videolan.org/?p=x264.git;...07dc395307d2ce
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 5th September 2013 at 13:25.
LoRd_MuldeR is offline   Reply With Quote