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

Update ffmpeg.go change preset from slow to medium #427

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

Tibia2000
Copy link
Contributor

@Tibia2000 Tibia2000 commented Nov 21, 2024

Updated the FFmpeg preset from slow to medium because the increased computation time required for slow does not provide a significant visual quality improvement. This change optimizes the balance between performance and quality.
image

Going from 2 pass encode slow preset to medium preset.
@j0sh j0sh requested review from thomshutt and leszko November 21, 2024 19:47
@j0sh
Copy link
Collaborator

j0sh commented Nov 21, 2024

LGTM but would also like input from @leszko since he is the one who made the original change to improve quality

Also wanted to confirm that this does result in a measurable speedup for GPU with our benchmark tools?

@Tibia2000
Copy link
Contributor Author

Tibia2000 commented Nov 21, 2024

LGTM but would also like input from @leszko since he is the one who made the original change to improve quality

Also wanted to confirm that this does result in a measurable speedup for GPU with our benchmark tools?

Yes it does, performance hit with slow is over 50%:
image
image

Copy link
Contributor

@leszko leszko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine, we can change it to "medium"

@leszko leszko merged commit 7b07ba3 into livepeer:master Nov 22, 2024
1 of 2 checks passed
@stronk-dev stronk-dev mentioned this pull request Nov 22, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants