You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening this issue, a maintainer will get back to you shortly!
In the meantime:
Read our Issue Guidelines, and update your issue accordingly. Please note that your issue will be fixed much faster if you spend about half an hour preparing it, including the exact reproduction steps and a demo.
Description
While initializing logging backend, the following code is used:
# define default options for yt-dlp backend self.ydl_opts = { "format": "best*[vcodec!=none]", "quiet": True, "prefer_insecure": False, "no_warnings": True if logging else False, "dump_single_json": True, "extract_flat": True, "skip_download": True, }
However, no_warnings should be the other way round.
no_warnings: False if logging else True
Issue Checklist
Expected behaviour
Should be like this:
# define default options for yt-dlp backend self.ydl_opts = { "format": "best*[vcodec!=none]", "quiet": True, "prefer_insecure": False, "no_warnings": False if logging else True, "dump_single_json": True, "extract_flat": True, "skip_download": True, }
Actual behaviour
With logging = False, I see warning messages from YT-DLP.
With logging = True, I don't see warning messages from YT-DLP
Steps to reproduce
Open any youtube stream
Terminal log output
Python Code(Optional)
No response
VidGear Version
0.3.2
Python version
3.10
OpenCV version
4.2
Operating System version
Ubuntu 22.04
Any other Relevant Information?
N/A
The text was updated successfully, but these errors were encountered: