-
-
Notifications
You must be signed in to change notification settings - Fork 314
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 knowit to parse video metadata (frame_rate, duration, subtitles...) #1154
Conversation
test are failing on macos and windows because failing on python 3.12 because ratoaq2/knowit#176 is not merged yet. |
As long as there is no hard dependency to install ffmpeg or all those stuff, I'm fine with it! 💡 Might want to add those in the docker image as well |
There is currently a bug in
Good point, thanks |
I think this would make subliminal a non pure-python package now? That's OK, packaging is much easier nowadays with wheels and all. But there might be some people running it on embedded platforms 😅 |
If you don't have mediainfo, ffmpeg or mkvmerge external libraries installed, |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
Tests passing finally! I opened a PR at pymediainfo to include the library on Linux and MacOS-arm64 (currently it's only bundled for Windows and MacOS-x86_64). So people would not have to install any external library to improve the parsing. I think I should add a small paragraph to the docs (the one from the news fragment maybe). But I don't know where it would be best, any idea? |
For what I understand, kwowit will be a test depend? |
The last provider is the python package |
fix test due to a bug in enzyme
Using knowit has two advantages:
In terms of dependency, it needs or
ffmpeg
ormediainfo
installed, otherwise it fallbacks on usingenzyme
.It's maintained by @ratoaq2 who used to maintain subliminal, so it fits very well :)