How about don't print the logs when video decode?

Please try

export TEGRA_VIDEO_LOGS=0

It can disable partial prints. Others are printed always.