JNoDuq / videobench

VMAF PSNR Bitrate Analyzer
233 stars 45 forks source link

/home/shared-vmaf/o.mp4: No such file or directory #43

Open danielocdh opened 2 years ago

danielocdh commented 2 years ago

I have been having this same problem/error on windows 10 21H1, 21H2, ubuntu 20 and ubuntu 22, fresh and old installs on 2 normal machines and 6 VMs. I have tried(with the same result):

Only some of the python installs were new, all the docker installs were new so I'm thinking maybe the newest version isn't compatible.

Are there any known versions(of windows/linux o.s., python, docker and videobench) known to work I could try?

Log from last attempt:

C:\Users\User\Desktop\videobench-master>python videobench.py -ref C:\Users\User\Desktop\o.mp4 -i C:\Users\User\Desktop\s.mp4 C:\Users\User\Desktop\vs.mp4
* Analyzing Reference File...
docker container run --rm  -v /tmp/videobench/:/home/shared-vmaf/ docker-videobench ffprobe -loglevel info -print_format json -show_streams -select_streams v -i /home/shared-vmaf/o.mp4
ffprobe version N-108187-gb11813708d Copyright (c) 2007-2022 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --enable-libvmaf --enable-version3 --pkg-config-flags=--static
  libavutil      57. 36.101 / 57. 36.101
  libavcodec     59. 44.100 / 59. 44.100
  libavformat    59. 32.100 / 59. 32.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 49.100 /  8. 49.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
/home/shared-vmaf/o.mp4: No such file or directory
Traceback (most recent call last):
  File "C:\Users\User\Desktop\videobench-master\videobench.py", line 176, in <module>
    ref_obj = manage_ref_file(ref_file, loglevel)
  File "C:\Users\User\Desktop\videobench-master\videobench.py", line 21, in manage_ref_file
    ffprobe_json = get_video_streams_info(filename, loglevel) ############ get video file info
  File "C:\Users\User\Desktop\videobench-master\videobench_functions.py", line 273, in get_video_streams_info
    result = subprocess.check_output(cmd, shell=True)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'docker container run --rm  -v /tmp/videobench/:/home/shared-vmaf/ docker-videobench ffprobe -loglevel info -print_format json -show_streams -select_streams v -i /home/shared-vmaf/o.mp4' returned non-zero exit status 1.

C:\Users\User\Desktop\videobench-master>