Coder Social home page Coder Social logo

Comments (9)

mifi avatar mifi commented on June 8, 2024

could u share more info about the file? https://github.com/mifi/lossless-cut/issues/new?assignees=&labels=&projects=&template=1-file-issue.yml

from lossless-cut.

mifi avatar mifi commented on June 8, 2024

or is it happening with all files? e.g. normal h264 files too

from lossless-cut.

Rytoxz avatar Rytoxz commented on June 8, 2024

Hi @mifi. This occurs with all files recorded with the 120 fps option selected in the new NVIDIA app. When the app is set to record at 60 fps this issues does not occur.

NVIDIA Shadowplay recordings use a constant bitrate so unsure if that is related. Currently it can only record in h264 (AV1 support is coming), so unsure why merely the change in fps would cause this bug.

I am going to also test 120 fps recordings using OBS to see if it could be a format issue with the way NVIDIA records, but either way this issue is still present in 100% of my testing.

from lossless-cut.

mifi avatar mifi commented on June 8, 2024

Could you try to play the video in Chrome also and see if it’s the same?

from lossless-cut.

Rytoxz avatar Rytoxz commented on June 8, 2024

The 120 fps video has no issues being played anywhere outside of Lossless Cut. VLC, Discord, iOS player, Chromium embed all play seamlessly for me.

For reference, the first video in my original post is the raw 120 fps file. If you download it and open it in Lossless Cut you can view the behaviour.

I’ve been able to confirm this behaviour on other devices so can confirm that it’s not just specifically my PC. My main desktop has an RTX 4080 so I would assume there are no hardware acceleration issues here.

Edit: I have also checked 120 fps behaviour using OBS to record with both CBR and VBR. I can confirm the issue is the same. It seems LosslessCut has issues playing back videos at 120 frames per second.

from lossless-cut.

mifi avatar mifi commented on June 8, 2024

That's strange. for me it plays smoothly at 120fps. i'm on m2 macbook air. which other devices did you try losslesscut on? do you see high cpu usage?

from lossless-cut.

Rytoxz avatar Rytoxz commented on June 8, 2024

I just managed to test on an M1 Macbook Air and can confirm I saw no issues either. This led me to consider whether display refresh rate would impact and in testing I have discovered the issue and the solution.

When using a VRR display, the convention is to enable V-sync and a global fps lock. The global fps lock applied to LosslessCut is what causes the issue. When I am capped to 141 fps, the playback stutters; when I am uncapped, the playback is smooth.

I will close the issue given the solution is external, though unsure whether you would consider it a bug still given the fps lock is higher than the playback framerate. An odd one for sure and hopefully this issue can be relevant for anyone else who faces this problem in the future.

from lossless-cut.

mifi avatar mifi commented on June 8, 2024

interesting. so did all apps have global fps lock applied or only losslesscut? it's probably a bug in electron/windows/nvidia combination, and I have no idea how to fix it. maybe related: #922

from lossless-cut.

Rytoxz avatar Rytoxz commented on June 8, 2024

Yes, the max frame rate would apply to all 3D applications. Disabling this limit globally or specifically for LosslessCut resolves the issue.

image

It does seem linked to the other issue, as I have also reported other similar playback issues on Chromium browsers related to this setting: brave/brave-browser#35307

Very likely a problem with Windows / Nvidia / Electron as you mentioned. Thank you for the help and input to lead to a resolution.

from lossless-cut.

Related Issues (20)

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.