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

fix: preserve original video fps #54

Merged
merged 2 commits into from
Dec 27, 2024
Merged

Conversation

itsmnthn
Copy link

Preserves original video FPS to avoid audio and subtitle sync issue.

Some videos have 24 - 26 fps and encoding them with mp4box converts 23.976 fps which makes video a bit longer and causes audio and subtitle sync issues.

@gacopl
Copy link
Owner

gacopl commented Dec 26, 2024 via email

@itsmnthn
Copy link
Author

I've used latest develop branch to convert 25fps mkv to mp4 outputs 23.976 fps which extends the video by 2+ mins this might be due to mkv not having correct metadata or something else. I'm newbi tried this modified version and it solved the issue for me. I'm not sure this is a correct solution but works for me so I contributed in case other people have the same issue.

Im using Mac OS, idk this might be due to dependency version differences. Using all the dependency's specified major version but latest minor version not exactly same as mentioned in the doc.

@gacopl
Copy link
Owner

gacopl commented Dec 26, 2024 via email

@itsmnthn
Copy link
Author

I'm any case pull should be made against develop branch

its against develop branch

Copy link
Owner

@gacopl gacopl left a comment

Choose a reason for hiding this comment

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

Thanks

@gacopl gacopl merged commit d06ea04 into gacopl:develop Dec 27, 2024
1 check passed
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.

2 participants