-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ffprobe metadata on video file clips #249
Comments
I believe that using getting video metadata would be more in the scope of the imageio module (moviepy focuses on get image and sound from clips). Once it is in imageio, it can be easily used in a moviepy script too. @almarklein any thoughts ? |
Yes, imageio also supports metadata. We could make it that when the get_meta_data() is called for the ffmpeg plugin, that we try to call ffprobe. @thenewguy would you be interested in making a pull request for this? It should not be too hard; mostly to include that snippet into imageio in a sensible way. Otherwise, please make an issue for a feature request. |
I'm closing this issue as it looks like it was agreed a PR would be better suited for the other project. I did a cursory search of imageio's issues but didn't see anything that looked like it mirrored this issue. If there was/is and I just overlooked it, please feel free to link it. |
It would be handy if ffprobe was also wrapped by moviepy. It would be handy to easily be able to retrieve metadata like overall source bitrate or audio/video stream specific bitrate. This information is useful when determining how to process the input
-- edit --
Here is a gist I stumbled upon seeing if there was a package put together that already wrapped ffprobe. It would be pretty easy to handle https://gist.github.com/oldo/dc7ee7f28851922cca09 and fit well with the project I think
The text was updated successfully, but these errors were encountered: