Page 1 of 1

Can't get libvlc to run on Ubuntu + Qt5

Posted: 17 May 2016 15:04
by pablocoo
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?

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

Posted: 17 May 2016 17:04
by Rémi Denis-Courmont
Best guess would be incorrect assumption about how vmem callbacks work.

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

Posted: 18 May 2016 20:55
by pablocoo
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.

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

Posted: 18 May 2016 21:05
by Rémi Denis-Courmont
I wrote "best guess". With so few infos, not much else can be stated.

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

Posted: 19 May 2016 11:17
by pablocoo
Here's the log with verbose=2,mayby it will give some insight:
http://pastebin/SxSgw0KM