RSATom / QmlVlcDemo

[ABANDONED] Simple demo app for QmlVlc lib
Other
41 stars 16 forks source link

Demo crashes #8

Closed berkantay closed 4 years ago

berkantay commented 4 years ago

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.

RSATom commented 4 years ago

I think it just was not able load libvlc by some reason.

berkantay commented 4 years ago

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

RSATom commented 4 years ago

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.

berkantay commented 4 years ago

First error is disappeared by installing vlc-plugin-qt package from ubuntu. But window remains grey and nothing shows up for rtsp link.

RSATom commented 4 years ago

@berkantay Do you see something in console?

berkantay commented 4 years ago

No warnings no errors shows up on the console.

RSATom commented 4 years ago

Are you able run Vlc itself?

berkantay commented 4 years ago

Yes vlc itself is able to run the link.

RSATom commented 4 years ago

Do you see at least something in console?

berkantay commented 4 years ago

Here is the screenshot of the desktop https://ibb.co/wQWmNsN

RSATom commented 4 years ago

I don't see terminal window there... Can you try run it directly from terminal?

berkantay commented 4 years ago

Sorry I get Project ERROR: Unknown module(s) in QT: multimedia error on the terminal. Here is the screenshot. https://ibb.co/zRq6DxC

RSATom commented 4 years ago

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.

berkantay commented 4 years ago

Problem solved @RSATom thank for your support, cheers.

berkantay commented 4 years ago

Installed qt5multimedia-dev

berkantay commented 4 years ago

Have you got any idea about setting the network caching parameter.

RSATom commented 4 years ago

You can try run vlc --longhelp to get info about options.