For the next release of PyNvVideoCodec, we would deeply appreciate if you made it possible to disable the logging of session initialization and deinitialization times in src/VideoCodecSDKUtils/helper_classes/NvCodec/NvDecoder/NvDecoder.cpp. These messages create a bunch of unnecessary noise in the logs for our distributed jobs, and there doesn’t appear to be any simple way to disable them without temporarily redirecting stdout, since the STOP_TIMER macro uses std::cout directly.
Hi @mitchell17
This issue has been addressed in latest version of PyNvVideoCodec v2.0.2 (now available for installation on PyNvVideoCodec · PyPI). Please refer to PyNvVideoCodec API Programming Guide - NVIDIA Docs for more details.