Page 1 of 1

startting and stopping vlc disturbs animations

Posted: 11 May 2010 18:33
by Belbear
I'm now able to use vlclib in my BlueMotion graphics project to play files on the Bluefish444 card.

There are several animation layers running simultaneous in separate threads, vlc is just one of these layers.
When I send vlclib's play or stop command however, I see that all running (not vlc related) animations are disrupted for a few moments. This is not acceptable for TV on-air graphics. When I run my project in MSVC debug mode, I see that some threads are created or destroyed at play or stop.

When I run vlcplayer on its own (vlc.exe with the qt4 graphical user interface), rather than creating an instance through vlclib, this disturbance is absent and all animations run smoothly.

Now my question is:
Do I need to develop a libvlc controlling app that also runs as a separate process and control it through IPC, or would it be sufficient to create yet another thread in my main app?

Re: startting and stopping vlc disturbs animations

Posted: 12 May 2010 15:13
by Jean-Baptiste Kempf
Did you try to change the video output?

No idea about your question, try it.