Giter Site home page Giter Site logo

Comments (14)

Cookietyrant avatar Cookietyrant commented on August 15, 2024 1

I can confirm I am having the same issue. And have abundant computing resources available when running the application. It just seems to open ffmepg at 0% cpu usage

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

So there could be a couple of issues that cause this. You could either be running out of disk space (as the app currently decompresses the entire video file to YUV files which can be quite large) or if the video is long enough your machine could be taking a legitimately long time to decompress the video. I recommend you cut down your video into 1 minute or so clips. I'm currently working on rewriting this app in Rust so that the video decompression/vmaf is handled all in-memory so this shouldn't be a problem in the future, but that's a good while off

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Also, you can mix video file types as vmaf-gui converts them both into YUV files anyway. Just make sure they have the same number of frames and you'll be okay. Don't change up framerates/lengths of video and you'll be fine mixing any video formats you want

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

I can confirm I am having the same issue. And have abundant computing resources available when running the application. It just seems to open ffmepg at 0% cpu usage

Thanks for your comment! I'm currently in the process of re-writing this entire app to fix a lot of the issues with the c# version

How much storage space do you have free on your drive? This program writes all of the decompressed video onto the disc, which can get quite large(this is one of the main things i'm trying to fix). And you're not seeing any error messages? When you open task manager ffmpeg is stuck at 0 percent? Does this happen with any video, or just this one specific video? And are you using the latest release of vmaf-gui?

Oh, and if you can spare the time, I'd really appreciate it if you could build vmaf-gui from source and share the output of the debug console, as stdout for ffmpeg should be getting redirected there, however you'll have to put all of the other supporting binaries in your build folder as well, but if you have downloaded one of the releases of vmaf-gui you should be able to copy those right over.

Or you could try and see what ffmpeg is doing by invoking the ffmpeg I've bundled with the release manually. Let me see if I can get the right command, that'll probably be easier to do actually

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Open a command prompt in the vmaf-gui folder and type the following command

.\ffmpeg.exe -y -i  path\to\your\file -pix_fmt yuv420p -vsync 0 test.yuv

Please share the console output here

from vmaf-gui.

Cookietyrant avatar Cookietyrant commented on August 15, 2024

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

About 14TB Sent from Proton Mail mobile

-------- Original Message --------
On Feb 6, 2023, 7:17 PM, Brandon Piña wrote: > I can confirm I am having the same issue. And have abundant computing resources available when running the application. It just seems to open ffmepg at 0% cpu usage Thanks for your comment! I'm currently in the process of re-writing this entire app to fix a lot of the issues with the c# version How much storage space do you have free on your drive? This program writes all of the decompressed video onto the disc, which can get quite large(this is one of the main things i'm trying to fix). And you're not seeing any error messages? When you open task manager ffmpeg is stuck at 0 percent? Does this happen with any video, or just this one specific video? And are you using the latest release of vmaf-gui? — Reply to this email directly, [view it on GitHub](#12 (comment)), or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Oh wow, well then storage definitely isn't the problem then. I'd be very interested to see the console output of the ffmpeg command I shared earlier. Let me know if you're able to collect that

from vmaf-gui.

ShinyaOsen avatar ShinyaOsen commented on August 15, 2024

I also have this issue messing around with it i cant figure out any real pattern of what works and what doesnt only things i can figure out is if the input video is to long or to big it will just refuse to start and file type doesn't matter. I have a character theme from a bluray rip that is 1minute 31 seconds long 395Mb that will refuse to start, but if i remove the pcm sound to only have video now 370Mb it will start to decompress but get stuck after the file in temp becomes around 1.6-2.1Gb. Running the ffmpeg command that you asked for "ffmpeg.exe -y -i path\to\your\file -pix_fmt yuv420p -vsync 0 test.yuv" it completes without issue made a file 6.6Gb and any other video that i used that command in had no problems.
output.txt

I also tried to run the program with wine on linux to see if something different would happen same problem

dont think i helped just just wanted to say what i found

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

I also have this issue messing around with it i cant figure out any real pattern of what works and what doesnt only things i can figure out is if the input video is to long or to big it will just refuse to start and file type doesn't matter. I have a character theme from a bluray rip that is 1minute 31 seconds long 395Mb that will refuse to start, but if i remove the pcm sound to only have video now 370Mb it will start to decompress but get stuck after the file in temp becomes around 1.6-2.1Gb. Running the ffmpeg command that you asked for "ffmpeg.exe -y -i path\to\your\file -pix_fmt yuv420p -vsync 0 test.yuv" it completes without issue made a file 6.6Gb and any other video that i used that command in had no problems. output.txt

I also tried to run the program with wine on linux to see if something different would happen same problem

dont think i helped just just wanted to say what i found

I really appreciate you going through all that work. This is good data. I haven't been able to replicate this issue on my side yet, so I don't quite have a good idea on what's going on here. It's interesting that manually running ffmpeg didn't cause any problems. I wonder if this is coming from how i'm invoking ffmpeg rather than ffmpeg getting caught up on something. maybe it's something to do with System.Diagnostics.Process since that's how I'm invoking these commands. @ShinyaOsen If you would, could you possibly share a video file that triggers this behavior? I think that 395Mb file you mentioned would be perfectly suitable for testing as that's not really that big of a video file. Again, that's if you were willing to share that with me which is perfectly understandable if you don't want to

from vmaf-gui.

ShinyaOsen avatar ShinyaOsen commented on August 15, 2024

Here's a link to the file I also put another file that doesn't work. Banba's Theme is the original file i was talking about. The Polar Express Game AD is smaller in size and length. Both were made with MakeMKV on Linux.
https://drive.google.com/drive/folders/1d2Swxjlc_dOks00i49InAzlNoHj2kIwG

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

Here's a link to the file I also put another file that doesn't work. Banba's Theme is the original file i was talking about. The Polar Express Game AD is smaller in size and length. Both were made with MakeMKV on Linux. https://drive.google.com/drive/folders/1d2Swxjlc_dOks00i49InAzlNoHj2kIwG

I've given it a try by attaching a debugger to vmaf-gui while trying to use the videos you provided. I can confirm that I also experience this issue given these specific videos. I'll give it some more investigation. It seems that something definitely is going on with System.Diagnostics.Process

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

@ShinyaOsen I think I managed to fix it. This was broken due to changes I made in release 2.1.2

If you're curious specifically what broke:

  • I was using System.Diagnostics.Process to invoke ffmpeg and vmaf
  • I was redirecting standardError (for getting more useful error messages from vmaf-gui)
  • I failed to close the standardError stream, which would cause the thread to never exit, as spawned processes were waiting for vmaf-gui to close the stream

I'm working on a patch to remediate this while keeping the extra error information which motivated 2.1.2 in the first place, but if you wanted something working today, i'd say to download release 2.1.1

from vmaf-gui.

ThatNerdUKnow avatar ThatNerdUKnow commented on August 15, 2024

I just put out release 2.1.3 which should resolve this issue

from vmaf-gui.

ShinyaOsen avatar ShinyaOsen commented on August 15, 2024

2.1.3 works on my side

from vmaf-gui.

Related Issues (12)

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.