performace issue with multiple process
Posted: 23 Jul 2015 16:17
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.
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.