File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11"""
2- FFmpeg has a logging system that it uses extensively. It's very noisy so PyAV turns it
3- off by default. This, unfortunately has the effect of making raised errors having less
2+ FFmpeg has a logging system that it uses extensively. It's very noisy, so PyAV turns it
3+ off by default. This unfortunately has the effect of making raised errors have less
44detailed messages. It's therefore recommended to use VERBOSE when developing.
55
66.. _enable_logging:
77
88Enabling Logging
99~~~~~~~~~~~~~~~~~
1010
11- You can hook the logging system with Python by setting the log level::
11+ You can hook into the logging system with Python by setting the log level::
1212
1313 import av
1414
@@ -25,10 +25,10 @@ quickly with::
2525 logging.basicConfig()
2626
2727
28- Note that handling logs with Python sometimes doesn't play nice multi-threads workflows.
28+ Note that handling logs with Python sometimes doesn't play nicely with multi-threaded workflows.
2929An alternative is :func:`restore_default_callback`.
3030
31- This will restores FFmpeg's logging default system, which prints to the terminal.
31+ This restores FFmpeg's default logging system, which prints to the terminal.
3232Like with setting the log level to ``None``, this may also result in raised errors
3333having less detailed messages.
3434
You can’t perform that action at this time.
0 commit comments