-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Write cli tool to check and transcode videos to the same framerate #48
Comments
Refs https://askubuntu.com/questions/110264/how-to-find-frames-per-second-of-any-video-file ffprobe can output json You can read it from ffmpeg too, gotta see if it's the value we need? but as blender uses ffmpeg I'd assume it's what it uses, had the issue a few time where fps and tbr values were different and blender used the fps |
Maybe merge with build_ffmpeg_proxies and turn it into a cli interface to make use of #62 / needs object orientation in this case to keep the code easy to read and write |
I think I've got one started. See this commit. |
So cool! ^^
…On 04/02/2018 23:08, Daniel Oakey wrote:
I think I've got one started. See this commit
<c6d1317>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#48 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMG10xqKxzoxEAYJ63Q0gcNczTEnM6ffks5tRipegaJpZM4QOTlG>.
|
Closing as now I consider this beyond the scope of the add-on, that should focus on video editing operations (cut, trim, offset, etc.). A tool like this is much more easily done with shell script too. |
To do:
A very important tool as you'll find videos with 23.98, 24, 30, etc. fps online and Blender always treats them like they have the same framerate as your project.
Possible solution
From the command line:
-r
option. Be sure to usentsc
and other built-in keywords for non-integer rates (not29.98
etc.).Feel free to ask help with the ffmpeg commands!
Extra notes
If you know a standard python lib that does it or a lightweight cross-platform python 3 script/lib/module we can ship with the add-on, great, we could avoid the external dependency. The lib's license must be compatible with the GPL license Blender uses.
Otherwise FFprobe comes with ffmpeg, which is almost necessary if you do FOSS video editing.
The text was updated successfully, but these errors were encountered: