How to manage memory when playing multiple videos with libvlc

This forum is about all development around libVLC.
cn_lexiao
New Cone
New Cone
Posts: 4
Joined: 27 Apr 2020 05:52

How to manage memory when playing multiple videos with libvlc

Postby cn_lexiao » 26 May 2020 11:54

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
Last edited by cn_lexiao on 26 May 2020 12:13, edited 1 time in total.

cn_lexiao
New Cone
New Cone
Posts: 4
Joined: 27 Apr 2020 05:52

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

Postby cn_lexiao » 26 May 2020 12:06

To add, I set the playback speed to 8 times when I use it
Last edited by cn_lexiao on 26 May 2020 12:11, edited 1 time in total.

cn_lexiao
New Cone
New Cone
Posts: 4
Joined: 27 Apr 2020 05:52

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

Postby cn_lexiao » 26 May 2020 12:07

In addition, my environment is to use libvlc 4.0.0 under 64 bit win7

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 26 May 2020 18:40

I am not sure what you expect here. To fix memory leaks, find the memory leak, and fix the bug... ?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

cn_lexiao
New Cone
New Cone
Posts: 4
Joined: 27 Apr 2020 05:52

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

Postby cn_lexiao » 27 May 2020 10:25

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 21 guests