Closed berkantay closed 4 years ago
I think it just was not able load libvlc by some reason.
Got it, have you got any example code snippet for rtsp streaming (client) for qt. I would be appreciated if you share with me. email:berkantay.5@gmail.com
No, I don't have example for rtsp, but it will be identical as to any other url type. Just replace url in demo to rtsp url.
First error is disappeared by installing vlc-plugin-qt
package from ubuntu. But window remains grey and nothing shows up for rtsp link.
@berkantay Do you see something in console?
No warnings no errors shows up on the console.
Are you able run Vlc itself?
Yes vlc itself is able to run the link.
Do you see at least something in console?
Here is the screenshot of the desktop https://ibb.co/wQWmNsN
I don't see terminal window there... Can you try run it directly from terminal?
Sorry I get Project ERROR: Unknown module(s) in QT: multimedia
error on the terminal. Here is the screenshot. https://ibb.co/zRq6DxC
It looks like you didn't install some required Qt packages. I don't remember what exactly packages it required - you have to find it yourself.
Problem solved @RSATom thank for your support, cheers.
Installed qt5multimedia-dev
Have you got any idea about setting the network caching parameter.
You can try run vlc --longhelp
to get info about options.
I succesfully build your project. However qmlvlcdemo implementation crashes.
QmlVlcDemo: ../QmlVlcDemo/deps/QmlVlc/QmlVlcVideoOutput.cpp:97: void QmlVlcVideoOutput::init(): Assertion `m_player && m_player->is_open()' failed.