-
Notifications
You must be signed in to change notification settings - Fork 51
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
Remove mediainfo gem, replace with ffprobe call #5982
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far!
Active encode still uses MediaInfo for the time being so we need to make sure that variables are still being set up properly. This commit also adds safe navigation or other conditionals to prevent errors when MediaInfo or FFmpeg are not defined properly in Settings.yml.
1b321a0
to
efe41de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and I'm excited to take the next steps to build on this but have to restrain myself since they're out of scope of this PR.
FWIW I looked at the ffprobe analyzer service in ActiveStorage which looks really similar to https://github.com/rails/rails/blob/main/activestorage/lib/active_storage/analyzer/video_analyzer.rb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Related issue: #5762