Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support capped CRF #51

Open
JSONPARS opened this issue Mar 3, 2020 · 4 comments
Open

Support capped CRF #51

JSONPARS opened this issue Mar 3, 2020 · 4 comments
Labels
priority: P3 Useful but not urgent type: enhancement New feature or request
Milestone

Comments

@JSONPARS
Copy link

JSONPARS commented Mar 3, 2020

Hi,

capped CRF or constrained quality is a good way to set a quality target for encoding with an upper limit for the bitrate.
FFMPEG itself and all supported codecs natively support some kind of constrained quality.
I think it would be great if this was also available in a config file of Shaka streamers.

@joeyparrish
Copy link
Member

Sounds reasonable. So you would want a setting that translates to "-crf" in ffmpeg commands?

@JSONPARS
Copy link
Author

JSONPARS commented Mar 7, 2020

Exactly! And also the maximum bitrate and the size of the buffer. Then you would have all parameters needed for capped CRF.

@joeyparrish
Copy link
Member

We already have a way to control bitrate. Does the buffer size need to be independent of the bitrate? Does CRF need to vary per resolution?

@JSONPARS
Copy link
Author

JSONPARS commented Mar 9, 2020

Yes and yes. The size of the buffer controls how large the bitrate jumps may be and thus how efficient the quality oriented encoding is.
One CRF per resolution would be important to encode smaller resolutions with higher quality.

@joeyparrish joeyparrish added type: enhancement New feature or request and removed needs triage labels May 29, 2020
@joeyparrish joeyparrish added this to the Backlog milestone May 29, 2020
@joeyparrish joeyparrish added the priority: P3 Useful but not urgent label Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: P3 Useful but not urgent type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants