Page 1 of 1
Re: Ubuntu 16.04
Posted: Sat Jun 04, 2016 6:18 am
by sbenejam
Results of my first attempt.
Qt5.7 compile fine without errors.
QLC+ compiled fine without errors.
QLC+ plays audio fine.
QLC+ video play shows a black screen audio plays and seems to hang, it stops playing some format.
I don't understand nothing. Maybe I'm missing some libraries. I'll try same steps in other computer soon.
;-(
Re: Ubuntu 16.04
Posted: Sat Jun 04, 2016 3:01 pm
by mcallegari
You are right. I get a black screen as well
There must be something in the QLC+ code too then, which has to be changed for Qt 5.7.
What a mess.
Re: Ubuntu 16.04
Posted: Sat Jun 04, 2016 3:32 pm
by mcallegari
Found it. Indeed a bug in Qt 5.7.0 that was not there in 5.6.0.
In ui/src/videoprovider.cpp, move the 5 lines block at line 181 to line 80.
This is the block:
Code: Select all
if (m_videoWidget == NULL)
{
m_videoWidget = new QVideoWidget;
m_videoWidget->setStyleSheet("background-color:black;");
m_videoPlayer->setVideoOutput(m_videoWidget);
}
I already created a Qt issue report:
https://bugreports.qt.io/browse/QTBUG-53835
Re: Ubuntu 16.04
Posted: Sat Jun 04, 2016 5:25 pm
by sbenejam
Hey Massimo,
With this modification now works as expected.
Re: Ubuntu 16.04
Posted: Sun Jun 19, 2016 8:02 am
by mcallegari
Qt 5.7.0 has been released and it still links gstreamer 0.10.
They just don't care....
Re: Ubuntu 16.04
Posted: Mon Apr 24, 2017 5:27 pm
by sbenejam
mcallegari wrote: ↑Sun Jun 19, 2016 8:02 am
Qt 5.7.0 has been released and it still links gstreamer 0.10.
They just don't care....
I tested on a Xubuntu 17.04 recently installed, qt5 (5.7.1) has gst-1.0 support enabled, gst-0.1 has no packages at all.
The modification of videoprovider.cpp is still needed to play video. I not tested audio playing yet.
Re: Ubuntu 16.04
Posted: Tue Apr 25, 2017 12:05 pm
by mcallegari
Thanks for reporting Santiago.
[EDIT] I've just pushed a change to detect at runtime where the video surface must be initialized. Should work with all Qt5 versions.
Re: Ubuntu 16.04
Posted: Tue Apr 25, 2017 6:28 pm
by sbenejam
mcallegari wrote: ↑Tue Apr 25, 2017 12:05 pm
Thanks for reporting Santiago.
[EDIT] I've just pushed a change to detect at runtime where the video surface must be initialized. Should work with all Qt5 versions.
I would test it tonight on a Xubuntu 16.04 lts on my laptop with qt5 5.8.0, maybe tomorrow I'll try it on a Xubuntu 17.04 installation with distribution default qt5 package. A couple of weeks ago I helped my niece in a small theater show. It was the first that used video playback with QLC + in production and I had no problem.
Good job Massimo.
{EDIT}: Tested on Xubuntu 16.04 with qt5 5.8.0 release from Qt. Audio an video plays as expected. Tomorrow I'll test on Xubuntu 17.04 with default qt5 version.
{EDIT}: Tested on Xubuntu 17.04 with default qt5 version on distro. Compiled fine, video playing worked as expected.