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

Seeking backwards is very slow with VP9 or AV1 #13

Open
magiblot opened this issue Dec 4, 2021 · 1 comment
Open

Seeking backwards is very slow with VP9 or AV1 #13

magiblot opened this issue Dec 4, 2021 · 1 comment

Comments

@magiblot
Copy link
Contributor

magiblot commented Dec 4, 2021

Hi,

To reproduce this issue you can use any high resolution video from YouTube. For example:

yt-dlp -f 308 https://www.youtube.com/watch?v=LXb3EKWsInQ (webm, VP9, 1440p)

Then load it into AviSynth and play it backwards:

LwLibavVideoSource("test.webm")
Reverse

For me, it runs painfully slow.

Apparently, the filter decodes every frame since the last keyframe (k) to the current frame (i). But it caches none of these intermediate frames, so when asking for the previous frame (i - 1) it decodes all frames from k to i - 1 again. And on top of that, it doesn't seem to use more than 2 threads, so it doesn't take advantage of the hardware concurrency.

It would be great if something could be done about this.

Cheers.

@AkarinVS
Copy link
Contributor

AkarinVS commented Dec 7, 2021 via email

Asd-g added a commit that referenced this issue Mar 10, 2024
Asd-g added a commit that referenced this issue Mar 10, 2024
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

2 participants