stream.ffmpegmux: add loglevel#6161
Conversation
bastimeyer
left a comment
There was a problem hiding this comment.
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.
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 <[email protected]>
|
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