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

Average frame rate detection (work for variable fps also) Find all video files in the input directory using ffproble implementation #42

Open
zelenooki87 opened this issue Nov 17, 2024 · 1 comment

Comments

@zelenooki87
Copy link

zelenooki87 commented Nov 17, 2024

I tried the program on a few videos with a variable frame rate and the output audio and video are out of sync. I think it's better to determine the average frame rate. And for video detection, use ffprobe if you are inserting a batch function. Currently we are limited to only a few supported extensions, and although ffmpeg can process avi, 3gp when we rename them to, for example, mp4, the program detects them correctly. Look at the average frame rate logic and ffprobe for detection from these two scripts.

https://pastebin.com/bT4x9sGx
https://pastebin.com/XdNZAKr3

@TNTwise
Copy link
Owner

TNTwise commented Nov 21, 2024

Ill look into it, thanks.

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

No branches or pull requests

2 participants