NameError: name 'print_stderr' is not defined
dpasqualin opened this issue · 1 comments
dpasqualin commented
I was trying to run the command below
$ ffmpeg_quality_metrics --enable-vmaf -ev -of csv video_hevc_576p_1000k.mp4 video_hevc_720p_1870k.mp4 > metrics2.csv
But I get the following error:
Traceback (most recent call last):
File "/home/dpasqualin/opt/miniconda3/envs/encoder/bin/ffmpeg_quality_metrics", line 8, in <module>
sys.exit(main())
File "/home/dpasqualin/opt/miniconda3/envs/encoder/lib/python3.8/site-packages/ffmpeg_quality_metrics/__main__.py", line 404, in main
print_stderr(
NameError: name 'print_stderr' is not defined
For what I see in the code the name of the function should be print_error
instead of print_stderr
.
slhck commented
You are right, that was a copy paste error. Would you be willing to provide a PR that fixes it? I can only look at it tonight.