Log in

View Full Version : Calculate Bitrate from CRF value


legend
19th May 2015, 03:47
I look around here & there also searching google did not find any perfect answer.

I not gone with bitrate calculator or other device where I can calculate bitrate with file size. I will go with the quality with perfect bitrate from CRV value. But it is not possible to calculate bitrare from CRF Value.

My quarry is that how can I get bitrate from CRF value as a simple
Is there any measurement tools or any software have where I can get my answer.

Sharc
19th May 2015, 07:19
There is no way to calculate the bitrate or file size from CRF. The bitrate depends on the encoder settings and on the complexity of the video.
You can only calculate the bitrate backwards: Encode with CRF, then calculate the average bitrate from the resulting file size and video duration.

foxyshadis
19th May 2015, 12:25
If you just want an idea of whether your target quality fits best in 1cd, 2cd, 1dvd, etc: Run a "compressibility test" to get an idea of a good resolution vs. bits. AutoMKV has one, but that's 6 years old. It's almost unheard of now to resize to some random mod-4, like in the xvid era; if full HD isn't enough, people resize to 720p and leave it at that. Not many tools are around because not many people care about this anymore.

If you have a certain medium that it has to fit in: Just calculate the bitrate to fill that, and use it.

If you're just curious: More trouble than it's worth.

kuchikirukia
24th May 2015, 07:53
Is there any measurement tools or any software have where I can get my answer.

I found x264 to work quite well for this.

But anyway, encoding 5% of the total in 1000 frame segments from random parts of the source will probably give you a pretty decent ballpark figure.

Sharc
24th May 2015, 10:56
I found x264 to work quite well for this.

But anyway, encoding 5% of the total in 1000 frame segments from random parts of the source will probably give you a pretty decent ballpark figure.
Just to mention that BD-Rebuilder has automated the task of finding the CRF for a target file size in "CRF prediction" operating mode. One can set a target size and BD-RB will estimate the CRF in a number of iterative steps.
There is no way to "calculate" the bitrate (file size) from the CRF value; it can only be estimated in a sequence of trial-and-error steps based on samples as you mention.