Giter Site home page Giter Site logo

Comments (8)

ShortyCM avatar ShortyCM commented on August 15, 2024 1

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.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

How can I reproduce this issue? Could you provide me with the files you are using?

from vmaf-gui.

ShortyCM avatar ShortyCM commented on August 15, 2024

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.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

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.

ShortyCM avatar ShortyCM commented on August 15, 2024

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.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

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.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

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.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Issue may have potentially been fixed in PR #5

from vmaf-gui.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.