Skip to content
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

Support libav's av_log_set_level #1448

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

materight
Copy link
Contributor

Adds a new logging.set_libav_level method that just calls libav.av_log_set_level. With this we can still have relevant error logs printed to terminal, while avoiding any deadlock issue when pyav logging is enabled. Only works when the default ffmpeg's log callback is used.

To test it:

av.logging.restore_default_callback()
av.logging.set_libav_level(av.logging.VERBOSE)

...

@WyattBlue WyattBlue merged commit b98a12e into PyAV-Org:main Jul 2, 2024
7 checks passed
@materight materight deleted the support-libav-set-log-level branch July 2, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants