-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
stream.ffmpegmux: add loglevel #6161
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
Conversation
bastimeyer
left a comment
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.
Thanks for the PR.
Some changes are required before this can be merged.
Please ignore the failing tests for now. I will update them myself by adding to your PR branch (which btw is your fork's master branch) afterwards.
bastimeyer
left a comment
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.
I just force-pushed onto your PR branch and fixed the remaining issues:
https://github.com/streamlink/streamlink/compare/353a3b3def65f0546067c141460fda21de74aac7..14d6bb999705295d9b58b12d2d6d13479077d441
Changes should be fine, but I'll have another quick look later today before merging.
Again, thanks for the PR.
|
Thank you for sending your gracious response and review so promptly. |
- Add `ffmpeg-loglevel` session option - Add `--ffmpeg-loglevel` CLI argument - Add FFmpeg `-loglevel` argument in FFMPEGMuxer, default to `info` - Update tests Co-Authored-By: bastimeyer <mail@bastimeyer.de>
|
There's one issue which adding this CLI argument / session option introduces, and that is that the FFmpeg process will terminate immediately when choosing an invalid Let's merge this PR now. If the user inputs an incorrect log level value, then it's their own fault. |
Hello.
When creating a plugin using FFMPEGMuxer, I wanted to display a finer log level (verbose, debug) than FFmpeg's info, so I added the argument “--ffmpeg-loglevel”.
ffmpeg Documentation: 5.2 Generic options