Page 1 of 1

performace issue with multiple process

Posted: 23 Jul 2015 16:17
by chubinou
Hi folks,

I've writen an application with libvlc wich in a loop: receive an RTP/H264 stream then grab some images. The program runs perfectly when launched once, the acquisition is really fast.
But If I start multiple instance of my program simultaneously, it becomes very delayed (esp. the time before buffering), my hardware (cpu/ram/network) is not overloaded (about 10% each)

theses slowdowns doesn't seems to be present if I start multiple isntances of libvlc_new within the *same* process (but I have other issues...)

Any idea of what my cause theses slow downs? or any options I might be missing

for information my program run on windows (2008r2) with libvlc 2.2.1,
libvlc is started with
"-I", "dummy", /* Don't use any interface */
"--ignore-config", /* Don't use VLC's config */
"--no-audio", /* we don't want audio (decoding) */
"--no-video-title-show", /* nor the filename displayed */
"--no-xlib", /* tell VLC to not use Xlib */
"--rtp-timeout=300",
"--network-caching=100", /* netword caching in ms*/
"--no-drop-late-frames",
"--extraintf=logger", //log anything
"--file-logging",
@"--logfile=C:\vlc-log.txt",
"--verbose=2",

Thanks.

Re: performace issue with multiple process

Posted: 24 Jul 2015 00:52
by Jean-Baptiste Kempf
What if you use one libVLC but multiple MediaPlayer?

Re: performace issue with multiple process

Posted: 29 Jul 2015 10:18
by chubinou
So, in the end, it seems that this was not libvlc which was causing the hangs during the buffering, but another third party component which was not working as expected in a multiprocess environment.

thanks anyway.