Skip to content

Add configuration options for FFmpeg#9119

Merged
nickvergessen merged 3 commits intomasterfrom
add-configuration-options-for-ffmpeg
Mar 21, 2023
Merged

Add configuration options for FFmpeg#9119
nickvergessen merged 3 commits intomasterfrom
add-configuration-options-for-ffmpeg

Conversation

@danxuliu
Copy link
Member

Besides making the encoders and the extension configurable this also increases the default quality for videos and serves as the basis to add a benchmark tool.

In the future it could be better to make it configurable as well by backend, given that each backend can use different resolutions and thus might not require the same quality, but for now this should be enough.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
VP8 encoder now uses the "Constant quality mode" to ensure that every
frame gets the needed bitrate to achieve certain quality level rather
than forcing the whole stream to have an average bitrate.

The maximum bitrate is set to 1Mbit/s, which should be enough to get
clear images even with FullHD screen shares (although this might still
compress some screen shares, as the default bitrate for screen shares in
the HPB is set to 2Mbit/s, but it should be enough for typical screen
shares of slides).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu
Copy link
Member Author

/backport to stable26

@nickvergessen nickvergessen merged commit b93ad37 into master Mar 21, 2023
@nickvergessen nickvergessen deleted the add-configuration-options-for-ffmpeg branch March 21, 2023 14:45
@nickvergessen
Copy link
Member

Much better :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: call 📹 Voice and video calls

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants