JNoDuq / videobench

VMAF PSNR Bitrate Analyzer
226 stars 43 forks source link

Problem with temporary Folders Host and Docker Win10 1909 #17

Open SebSonic1979 opened 4 years ago

SebSonic1979 commented 4 years ago

There seems to be a Problem with the mount of the temporary folders. On my Host videobench copy's the Ref-File (test.mp4) to c:\tmp\videobench but when it tries to analyse the File with ffprobe it fails and abort the Program.

ffprobe version N-97814-g6275a7ec73 Copyright (c) 2007-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --enable-libvmaf --enable-version3 --pkg-config-flags=--static libavutil 56. 46.100 / 56. 46.100 libavcodec 58. 84.100 / 58. 84.100 libavformat 58. 43.100 / 58. 43.100 libavdevice 58. 9.103 / 58. 9.103 libavfilter 7. 81.100 / 7. 81.100 libswscale 5. 6.101 / 5. 6.101 libswresample 3. 6.100 / 3. 6.100 /home/shared-vmaf/test.mp4: No such file or directory

Is there a way to check if /home/shared-vmaf/ exists in the Docker Image or why the mapping between the local Temp Folder and the Docker Temp Folder fails?

SebSonic1979 commented 4 years ago

Short Update: Found the Error, there are several Problems running this on a Windows machine. I had to edit the videobench.py and videobench_functions.py. In both Files i had to edit the tmp_path in the Header from - " tmp_path = "/tmp/videobench/" " - to - " tmp_path = "c:/tmp/videobench/" ". Now the File not Found Error disappeared. For having the UI working you have to edit the command Line which calls the videobench.py in Line 42. Instead calling "python3" you have to call "python" to make it work under Windows. Now the Tool is running but in the End there is still the Problem from Issue Nr.14 that the Result Window has no clickable UI Elements