Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to speed up x5 the 4k VP9 video #133

Closed
Telezhka-the-First opened this issue Mar 2, 2024 · 12 comments
Closed

Unable to speed up x5 the 4k VP9 video #133

Telezhka-the-First opened this issue Mar 2, 2024 · 12 comments

Comments

@Telezhka-the-First
Copy link

I noticed that if I use this video renderer in MPC-BE, any video with codec vp09 seems impossible to speed up: while time and audio successfully increase in speed, video plays as if it was at x1 speed, so audio outruns video. This doesn't happen with h264 and h265: they speed up as intended.

@Aleksoid1978
Copy link
Owner

What player use ?

The video renderer has nothing to do with changing the playback speed.
I checked in MPC-BE - everything is fine.

@clsid2
Copy link
Contributor

clsid2 commented Mar 3, 2024

Hardware decoder maybe too slow?

@v0lt
Copy link
Collaborator

v0lt commented Mar 3, 2024

This is a problem with your hardware that you didn't mention.

Also, if you press Ctrl+J, you will get additional information.

@Telezhka-the-First
Copy link
Author

What player use ?

The video renderer has nothing to do with changing the playback speed. I checked in MPC-BE - everything is fine.

Not sure what do you mean by player. I use MPC-BE with MPC Video Renderer & MPC Audio Renderer.

@Telezhka-the-First
Copy link
Author

Hardware decoder maybe too slow?

Maybe. VLC speeds up vp09 fine though. Maybe some option breaks vp09 in MPC-BE.

@Telezhka-the-First
Copy link
Author

This is a problem with your hardware that you didn't mention.

Also, if you press Ctrl+J, you will get additional information.

Thanks, that's test with x5 speed:
image

@Aleksoid1978
Copy link
Owner

Frame rate 120, working.

@v0lt v0lt changed the title Unable to speed up the video with vp09 Unable to speed up x5 the 4k VP9 video Mar 3, 2024
@Telezhka-the-First
Copy link
Author

It's not x5, i took this speed just to illustrate the problem. Usually this starts happening at about x1.7. What happens is that after some speed Sync offset is no longer dropping towards zero, but increases, increasing difference between audio and video. This means that this program reaches it's maximum framerate (bitrate?) for the video and can't process it any faster, while audio doesn't care and speeds up to any number.

@Telezhka-the-First
Copy link
Author

Is it the only solution: to upgrade hardware? Can anything be done via program part?

@clsid2
Copy link
Contributor

clsid2 commented Mar 3, 2024

Yes, your hardware is too weak.

@v0lt
Copy link
Collaborator

v0lt commented Mar 3, 2024

The hardware decoder has a decoding speed limit. This limit is different on different decoders. Also, part of the power is taken by the output to the screen.

In my measurements on an Intel UHD 750, the HEVC 8-bit decoder is faster than the VP9 8-bit decoder.
For fast operation of integrated graphics, fast RAM operating in dual-channel mode is required.

@Telezhka-the-First Telezhka-the-First closed this as not planned Won't fix, can't repro, duplicate, stale Mar 3, 2024
@Telezhka-the-First
Copy link
Author

It would be better though, that if vp09 video can't reach desired speed it would lag and stutter rather than running video slower than needed. This way desync would be immediately noticable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants