Page 1 of 1

How to manage memory when playing multiple videos with libvlc

Posted: 26 May 2020 11:54
by cn_lexiao
hello everyone,
When I play multichannel video, it's easy for memory to peak
Therefore, creating objects elsewhere in the project can easily cause memory leaks and GDI internal errors
I want to ask, who knows how to solve this problem?
At present, this problem occurs when I play six 25FPS HD videos at the same time

Re: How to manage memory when playing multiple videos with libvlc

Posted: 26 May 2020 12:06
by cn_lexiao
To add, I set the playback speed to 8 times when I use it

Re: How to manage memory when playing multiple videos with libvlc

Posted: 26 May 2020 12:07
by cn_lexiao
In addition, my environment is to use libvlc 4.0.0 under 64 bit win7

Re: How to manage memory when playing multiple videos with libvlc

Posted: 26 May 2020 18:40
by RĂ©mi Denis-Courmont
I am not sure what you expect here. To fix memory leaks, find the memory leak, and fix the bug... ?

Re: How to manage memory when playing multiple videos with libvlc

Posted: 27 May 2020 10:25
by cn_lexiao
I am not sure what you expect here. To fix memory leaks, find the memory leak, and fix the bug... ?

Thank you for your reply. What I hope is that when I play HD video at various speeds of multichannel video, how to effectively reduce peak memory? I have no idea about VLC source code and parameters. At present, I only use libvlc Library in CSharp to play video. My English is poor, and I don't know much about VLC parameters. I hope to get some suggestions and help from here, thank you