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

Use avg_frame_rate instead of r_frame_rate when probing a video #93

Merged
merged 2 commits into from
Sep 8, 2021

Conversation

mariocynicys
Copy link
Member

Seems that r_frame_rate may involve some calculation when the video has more than one frame rate(mixed frame rates), ffmpeg will try to find the least common multiple of all the different frame rates in the video, which is not the value we want.

To avoid this, we can use avg_frame_rate instead. See this

fixes #90

@joeyparrish joeyparrish merged commit 79bcd58 into shaka-project:master Sep 8, 2021
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Framerate autodetection wildly inaccurate with certain content
2 participants