video output

All the topics related to QLC+ on the Raspberry Pi
Post Reply
pogay
Posts: 14
Joined: Mon Jun 22, 2015 2:45 pm
Location: Basel, Switzerland
Real Name: Patrick Ogay
Contact:

Hallo

We like to use video-output on a PI 2.
According to some hints for video-output qt5 seems to necessary
so I decided to the following:
I updated wheezy to jesse
I followed the instruction here https://github.com/mcallegari/qlcplus/w ... -build-Qt5
I compiled it on the PI 2, make -j4 works very nicely and fast.
no compile error, qlcplus starts as expected in a window,

(First I found the discription with qt4 (what I did first). It worked fine with sound, but the video-input button seemed to be missing)
With qlcplus-QT5 I can load the show, but when I click a button on the virtual console, an error is logged,

Code: Select all

pi@raspberrypi ~ $ qlcplus -d 
libEGL warning: failed to open /dev/dri/card0  (<-- seems to be graphic and no problem for me) 
libEGL warning: DRI2: could not open /dev/dri/card0 (Datei oder Verzeichnis nicht gefunden)

Q Light Controller Plus version 4.8.5
This program is licensed under the terms of the Apache 2.0 license.
Copyright (c) Heikki Junnila (hjunnila@users.sf.net)
Copyright (c) Massimo Callegari (massimocallegari@yahoo.it)

Default format not supported - trying to use nearest -1   (as soon as I click a show on virtual console)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is AudioRendererQt(0x6e304840), parent's thread is QThread(0x1d50210), current thread is QThread(0x1db9550)
using null output device, none available
Cannot start audio output stream. Error: OpenError
I assume that jessie uses at the moment:

Code: Select all

Package: qt5-default
Source: qtbase-opensource-src
Version: 5.3.2+dfsg-4+rpi1
Architecture: armhf
I just see, on my mint-17-1 box, I don't have a "new video" button (4.8.4)
Is it a issue of qlcplus version or qt version?
How can I check the qt-version qlcplus uses?

thank you for your hints in advance

regards
Patrick
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi, video support in QLC+ is possible only when using Qt5.
Windows and OSX desktop packages are already shipping it, while Linux DEB packages still relies on Qt4.
This is because Qt5 is not the default Qt version in many distros.
To have video support you need to build QLC+ by yourself following the instructions you mentioned.

Said that, the Raspberry Pi story is totally different.
In my image I bundle Qt 5.4.2, but it's still not enough to have hardware accelerated video playback on the Pi (sw decoding is not even to be considered), which is possible only when using a particular extension of gstreamer 1.0 (OMX if I remember)
This hasn't been possible up to Qt 5.4.x, and it will be possible with Qt 5.5.x. Today they announced the release candidate, and soon we'll have Qt 5.5.0 final.
I'm just waiting for it to try to build it on gstreamer 1.0 and play with the omx acceleration.
Unfortunately at the moment it is the only way, so we still need to have patience.
pogay
Posts: 14
Joined: Mon Jun 22, 2015 2:45 pm
Location: Basel, Switzerland
Real Name: Patrick Ogay
Contact:

thanks Massimo for the quick replay

Until now we used two Raspbies:
1) with pipresents - receives GPIO, starts a movie via omxplayer and sends a OSC message to pi2.
2) with qlcplus - a light show is triggered via OSC message from PI1predecessor

On my predecessor image I have an installation with pipresents and qlcplus-qt4 on the same machine.
I already tested the communication and it worked fine.
It's not excactly a video track, but a movie and parallely the qlcplus light show, might work for us.

thanks so far
regards
Patrick
Post Reply