Comments (8)
Been doing some testing and it seems that using the stand-alone VMAF util is over three times faster than using ffmpeg anyway. Only advantage to the built-in ffmpeg method is you don't need the space for the temporary files.
from vmaf-gui.
How can I reproduce this issue? Could you provide me with the files you are using?
from vmaf-gui.
It doesn't seem to matter which files I use. I've tried 480p, 1080p, and 4k files and all of them exit after maybe two seconds and all it compares is the first 3120 frames.
from vmaf-gui.
Try running the program then exiting after it generates the first .y4v files. The progress bar should be at 50%. It's important not to forget this because these files are deleted after the log file is generated. then get a command prompt into the directory you're running vmaf-gui and run the following command .\vmaf.exe --threads 4 --reference ./temp/source.y4m --distorted ./temp/source.y4m -o log.xml
then post the output from stdout here
from vmaf-gui.
Considering it pretty much instantly pops up the log file that is pretty much impossible to do. If it is supposed to be creating temporary video files in .\temp then this could be the cause of the issue I'm having. I've got this installed in a directory under my Program Files (x86) directory. Normally you would not want to be creating work files in here, as only your application itself should reside there. In fact, it is probably an admin-rights issue pertaining to the attempt to create these files. It is probably attempting to create them and failing to do so due to the lack of admin privs, and just running on null data really quickly and then exiting. Really, you should be attempting to create your temporary files in %temp% rather than .\temp, if that's the case. Perhaps in %temp%\vmaf-gui\ might be a good idea. Anyway, if you're creating temporary files then that's my bet as to what's going on here. I'll test when I'm home. I'm guessing if I move the program to somewhere else, or fire it up with admin privs, that it will probably start working properly.
FYI, if you're just using ffmpeg to create temporary files to run vmaf on you could actually skip that step and just use the vmaf support that's built into ffmpeg and sidestep having to create temporary files. This is an example of the command line I've been using to do that:
ffmpeg -i "distorted.mkv" -i "reference.mkv" -lavfi libvmaf="model_path=vmaf_v0.6.1.pkl:feature=cambi:log_path=distorted.VMAF.txt" -report -f null -
from vmaf-gui.
I failed to consider that, I've always been running this program portable rather than installing so I hadn't considered the possibility of permissions issues. It seems an easy enough fix so I should be able to get something out the door
from vmaf-gui.
FYI, if you're just using ffmpeg to create temporary files to run vmaf on you could actually skip that step and just use the vmaf support that's built into ffmpeg and sidestep having to create temporary files. This is an example of the command line I've been using to do that:
If i remember correctly ffmpeg doesn't have vmaf built in and you have to download a special build that includes it. I probably won't implement this in this repository since I plan on eventually porting this project to an electron app
from vmaf-gui.
Issue may have potentially been fixed in PR #5
from vmaf-gui.
Related Issues (11)
- VMAF-GUI doesnt generate output HOT 10
- "There was a problem running VMAF" HOT 5
- Stuck on 'Decompressing source' HOT 14
- "System.FormatException: The input string format is incorrect" HOT 10
- Huge .y4m file size (~20–30 ✕ original) HOT 2
- Would it be possible to add a pause and ETA feature? HOT 7
- Closing the application doesn't end the process and a few other bugs HOT 7
- Possible to add an output to a plot where the vmaf values are plotted on a graph or a table? HOT 19
- Selectable OS Threads HOT 2
- Add selectable vmaf models HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vmaf-gui.