-
Notifications
You must be signed in to change notification settings - Fork 28
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
Adding -loglevel error
for large files
#82
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #82 +/- ##
============================================
+ Coverage 94.77% 94.85% +0.08%
Complexity 168 168
============================================
Files 9 9
Lines 689 700 +11
============================================
+ Hits 653 664 +11
Misses 36 36
Continue to review full report at Codecov.
|
I've tested this on a handful of environments and can concur a quiet ffmpeg is a happy ffmpeg (esp. for processing large files where stdout can get clogged up by ffmpeg giving a running commentary of what's going on) |
I'm not against this change, just wondering if we will ever want a more verbose logging? Also what happens if I provide Should we do a more complex check for existing I'll try and pull this down and test some of these possibly problematic issues I'm noting here. |
@whikloj Wasn't thinking about that 🤦♂️ Since any client could pass along an X-Islandora-Args header, I should sanitize here to catch all cases. After that we'll need to run a custom validator to throw things back at you if you try to set the loglevel in the action's form. |
@whikloj eh how about we just reject any message that tries to set log level? that's honestly the cleanest way to handle it. i'll update the action to reject form submissions that try to set |
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.
👍
GitHub Issue: Part of the fix for Islandora/documentation#1278
What does this Pull Request do?
Adds
-loglevel error
to everyffmpeg
command so that large files can be processed.How should this be tested?
See Islandora/documentation#1278
Interested parties
@Islandora/8-x-committers @kayakr @antbrown