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

Insane memory useage when using loop filter #307

Open
lukasf opened this issue Sep 25, 2022 · 3 comments
Open

Insane memory useage when using loop filter #307

lukasf opened this issue Sep 25, 2022 · 3 comments

Comments

@lukasf
Copy link
Member

lukasf commented Sep 25, 2022

I saw memory usage skyrocketing when using loop video filter (#304):

loop=loop=-1:size=1:start=0

Not sure what is going on. Buffers are allocated and freed, looks normal to me, but something is wrong. Need to investigate with memory profiler.

@brabebhin
Copy link
Collaborator

I had some pc issues this week, I'll take a look in the weekend.

@brabebhin
Copy link
Collaborator

As a side note i encountered a similar issue with regular playback as well, on w11.

Sometimes video would stop rendering while audio and subs would still go on. Memory would go up over time as video frames are buffered, as well as disk usage going up (probably to fetch said frames).

I guess you are on w11 as well?
I don't have a w10 machine anymore.

@brabebhin
Copy link
Collaborator

This seems to be because of timestamps. FFMpeg loop filter seems to actually loop timestamps as well.
Using your example someplace in the file I keep getting the same timestamp for the video sample

35201833

This will cause them to buffer very quickly and memory does go up spectacularly.

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

No branches or pull requests

2 participants