New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vlc / Vlc-Qt: Failed to set on top -> No video #218
Comments
hey let me know if you solved it, I am facing the same issue |
I'm having the exact same issue, cant figure it out. :( EDIT: Found a workaround Opening a NULL VlcMedia object and then immediately stopping it in the main class constructor fixes this issue for me. I guess the widget isnt getting properly initialized until a call to open() or play() is made. I still get the following error messages but atleast the videos play now.
|
mark ,i have solve this problem, this problem is mainly caused by the type of libvlc.dll and libvlccoer.dll file, we just need to download the lastest version of VLC锛宖ound the VLC installer path, copy the "plugins" folder, the "libvlc.dll" file and the "libvlccore.dll"file in your qt project complie project's "release" folder ,the problem will solve. good luck! |
Hi 馃槃, I'm using on Windows this library in Qt 5.9.1 (Qt Creator 4.4.0) and, as I start my application, in Application Output those errors appear:
core vout display error: Failed to set on top
libvlc: Failed to set on top
Result: no video, only audio.
The code is like this:
InitialWindow.cpp
and its Header (InitialWindow.h):
The widget was added by promoting a QWidget to a VlcWidgetVideo.
I just cannot get it, I'm a newbie to Qt and this "magical world" 馃槅. I hope you can give me a hint to resolve this problem. Thank you in advance 馃槂
The text was updated successfully, but these errors were encountered: