@JoeCFD Hello , thank you for this answer .. building this is not easy for me on windows. could'nt find a complete tutorial without using docker images or msys2 App.
Meanwhile i tried to run the QtPlayer example in "doc\libvlc\QtPlayer" . It runs without error when i changed my .pro ... but video does'nt start affter selecting the file. What am i doing wrong ?
Hi and welcome to devnet,
That's a pretty interesting question. However, you should bring it to the VLC-Qt maintainers. They will likely be more knowledgeable about that issue.
@takti You need to understand that most people in this forum are volunteers spending their own time to help others for free. This includes me as well. Since I don't have a solution for your problem I suggested to check somewhere else also.
@AyushExel204
It is indeed strange. I haven't worked with that library, but I see no good reason that is should work with VlcMediaPlayer but not with VlcMediaListPlayer. In this example (graciously provided by @mrjj over chat), they don't seem to use VlcMediaListPlayer and as you said that should work. Perhaps you can use it to build upon. Also you might want to search through the library's bugtracker to see if there is something known about this issue.
Hi,
Why can't it be used a QWidgets ?
From a quick look at the documentation WidgetVideo is a QWidget so you can put it in a layout.
You have to create the WidgetVideo yourself and set it on your media player.
WARNING: not tested, it comes from the documentation of VlcQt and their example.
Sounds like what I said earlier - the vlc dll was probably compiled with different Qt version than what you're using in your project. These need to match.
Indeed, debug build should work as well. Hmmm, try switching to Debug, and do Clean All, run Qmake, Rebuild All. Maybe do that twice for good measure.
Anyway, now you're up and running in Release mode, happy VLC hacking!