Can't get libvlc to run on Ubuntu + Qt5

This forum is about all development around libVLC.
pablocoo
New Cone
New Cone
Posts: 5
Joined: 15 Mar 2016 11:15

Can't get libvlc to run on Ubuntu + Qt5

Postby pablocoo » 17 May 2016 15:04

Hello.
Recently I gained access to nVidia jetson tk1 and I tried to run my application which uses vmem callbacks to get frames from rtsp stream.
System is Ubuntu 14.04.1.
I installed Qt 5.2 and compiled libvlc, with - disable-qt.
- vlc works fine
- libvlc from simple c++ project works ok
- libvlc in Qt console project doesn't work - it Looks like it's playing but there's no display. Lock callback is being processed ok but it never reaches unlock callbacks.

Any idea what might be the issue?

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Can't get libvlc to run on Ubuntu + Qt5

Postby Rémi Denis-Courmont » 17 May 2016 17:04

Best guess would be incorrect assumption about how vmem callbacks work.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pablocoo
New Cone
New Cone
Posts: 5
Joined: 15 Mar 2016 11:15

Re: Can't get libvlc to run on Ubuntu + Qt5

Postby pablocoo » 18 May 2016 20:55

How so? I'm using them on Windows just fine. Problem appears on Ubuntu and jetson. But feel free to correct my assumptions if i am mistaken. I posted my code in another thread.
I tested the code without callbacks too. And is works in c++ application, but won't work when used with Qt. As i said I tried compile with - disable-qt, searched for qt4 libs if the might cause compatibility problems (Nothing found). I'm not really sure what else could I do.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Can't get libvlc to run on Ubuntu + Qt5

Postby Rémi Denis-Courmont » 18 May 2016 21:05

I wrote "best guess". With so few infos, not much else can be stated.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pablocoo
New Cone
New Cone
Posts: 5
Joined: 15 Mar 2016 11:15

Re: Can't get libvlc to run on Ubuntu + Qt5

Postby pablocoo » 19 May 2016 11:17

Here's the log with verbose=2,mayby it will give some insight:
http://pastebin/SxSgw0KM


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests