Page 1 of 1

QLC+ 4.12.7 does not play videos in debian 12.

Posted: Wed Oct 04, 2023 11:45 am
by susobaco
Hi, I just upgraded to debian 12 and I find that when I try to play a video (before in debian 11 it played without problem) the screen goes completely black and the video does not advance.
I have searched if it is a bug in gstreamer but I have not found anything.
Can anyone know where the problem may be?
Salud!

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Wed Oct 04, 2023 4:52 pm
by mcallegari
Perhaps some QtMultimedia or gstreamer package missing

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Thu Oct 05, 2023 6:40 am
by susobaco
I believe all dependencies are installed. In the video window, it does recognize the format and when I launch it it recognizes the size.
The video plays perfectly with gst-play-1.0 so it may be more of a qt multimedia bug.
I am still investigating.

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Tue Oct 31, 2023 9:24 am
by susobaco
The error that comes up is the following, there are not many references on the internet, possibly a gstreamer error with Vaapi.

qlcplus -d 0

Q Light Controller Plus version 4.12.7
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)

QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2399, resource id: 65011747, major code: 15 (QueryTree), minor code: 0
QWidget::paintEngine: Should no longer be called
QWidget::paintEngine: Should no longer be called
Error: "Internal error: could not render surface"
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2434, resource id: 65011747, major code: 55 (CreateGC), minor code: 0
QXcbConnection: XCB error: 13 (BadGC), sequence: 2435, resource id: 65011756, major code: 59 (SetClipRectangles), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2436, resource id: 65011747, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 13 (BadGC), sequence: 2437, resource id: 65011756, major code: 56 (ChangeGC), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2504, resource id: 65011747, major code: 10 (UnmapWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2506, resource id: 65011747, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2508, resource id: 65011747, major code: 4 (DestroyWindow), minor code: 0




If vaapi is used, this error is displayed:

gst-launch-1.0 filesrc location=/home/manteniment/Vídeos/YeupVjN-JeOk2Jqk.mp4 ! qtdemux ! vaapih264dec ! vaapisink
Estableciendo el conducto a PAUSA …
El conducto está PREPARÁNDOSE …
Se obtiene contexto del elemento 'vaapisink0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0", gst.vaapi.Display.GObject=(GstObject)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0";
Redistribuir latencia…
ERROR: del elemento /GstPipeline:pipeline0/GstVaapiSink:vaapisink0: Internal error: could not render surface
Información adicional de depuración:
../gst/vaapi/gstvaapisink.c(1541): gst_vaapisink_show_frame_unlocked (): /GstPipeline:pipeline0/GstVaapiSink:vaapisink0
ERROR: el conducto no quiere prepararse.
Estableciendo el conducto a NULL …
ERROR: del elemento /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Internal data stream error.
Información adicional de depuración:
../gst/isomp4/qtdemux.c(6937): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
streaming stopped, reason error (-5)
ERROR: el conducto no quiere prepararse.
Liberando el conducto…


But if libav is used, the video plays well.

gst-launch-1.0 filesrc location=/home/manteniment/Vídeos/YeupVjN-JeOk2Jqk.mp4 ! qtdemux ! avdec_h264 ! queue ! videoconvert ! autovideosink
Estableciendo el conducto a PAUSA …
El conducto está PREPARÁNDOSE …
Redistribuir latencia…
Redistribuir latencia…
El conducto está PREPARADO …
Estableciendo el conducto a REPRODUCIENDO …
New clock: GstSystemClock
Redistribuir latencia…

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Sun Nov 05, 2023 6:33 pm
by JimmyTheGeek
I have the same problem with MX-Linux 23. And 22. I have qt5multimedia5-plugins installed. I have every gstreamer plugin installed as well. Nothing works. I get the time display, frame size, etc..., but a blank screen for the video display. Works a treat in Windows, but I'd really like to see it working under Linux. Does anyone have any suggestions?

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Thu Nov 09, 2023 7:50 am
by sbenejam
Hi Suso, try uninstalling gstreamer1.0-vaapi. On my laptop with Ubuntu 22.04 I need to uninstall gstreamer1.0-vaapi to get videos working.

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Thu Apr 04, 2024 10:19 am
by susobaco
Hi, it does work, it just doesn't play them in full screen. We are still investigating. Thank you.

Re: QLC+ 4.12.7 does not play videos in debian 12.

Posted: Fri Apr 05, 2024 10:54 am
by dwildt
Same Problem here:
viewtopic.php?p=72520#p72520