libVLC, very slow initialise and the plugins cache
Posted: 08 Apr 2016 19:30
I've written an app that uses libVLC and I'm getting an intermittent problem where it takes ages (maybe a minute or more) to launch my app because it appears to be stuck initialising libVLC. It launches eventually but it's too slow.
I can see similar issues have been reported in the past with VLC itself.
I have four PCs that reboot in the early hours of the morning and so slow is my app to start that Windows gives up waiting for my app to create a Window and so when the Window gets created its minimised. I can probably workaround that my initialising libVLC after creating my Window, but I'd like to get to the bottom of the issue itself.
I'm using the libVLC DLLs from version 3.0 from a few weeks ago. I need 3.0 due to the new data byte stream callbacks. This is the 64 bit version.
I am aware of something called the plugins cache, and the file plugins.dat. This file is not getting created by my app - should it be? I can't find an option to tell libVLC to create this. I ran the 3.0 version of vlc-cache-gen but this did nothing - no error, but no plugins.dat created either.
Not sure where I go from here, can anyone help or give me some pointers?
I can see similar issues have been reported in the past with VLC itself.
I have four PCs that reboot in the early hours of the morning and so slow is my app to start that Windows gives up waiting for my app to create a Window and so when the Window gets created its minimised. I can probably workaround that my initialising libVLC after creating my Window, but I'd like to get to the bottom of the issue itself.
I'm using the libVLC DLLs from version 3.0 from a few weeks ago. I need 3.0 due to the new data byte stream callbacks. This is the 64 bit version.
I am aware of something called the plugins cache, and the file plugins.dat. This file is not getting created by my app - should it be? I can't find an option to tell libVLC to create this. I ran the 3.0 version of vlc-cache-gen but this did nothing - no error, but no plugins.dat created either.
Not sure where I go from here, can anyone help or give me some pointers?