QLC+ 4.12.7 does not play videos in debian 12.

The issues found when using the Function Manager panel
Post Reply
susobaco
Posts: 6
Joined: Mon Jan 16, 2023 4:13 pm
Real Name: Suso Comesaña

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!
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Perhaps some QtMultimedia or gstreamer package missing
susobaco
Posts: 6
Joined: Mon Jan 16, 2023 4:13 pm
Real Name: Suso Comesaña

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.
susobaco
Posts: 6
Joined: Mon Jan 16, 2023 4:13 pm
Real Name: Suso Comesaña

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…
JimmyTheGeek
Posts: 3
Joined: Sun Nov 05, 2023 6:25 pm
Real Name: Jim Engelhardt

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?
User avatar
sbenejam
Posts: 606
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

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.
susobaco
Posts: 6
Joined: Mon Jan 16, 2023 4:13 pm
Real Name: Suso Comesaña

Hi, it does work, it just doesn't play them in full screen. We are still investigating. Thank you.
dwildt
Posts: 4
Joined: Wed Feb 07, 2024 9:17 pm
Real Name: DirkW

Same Problem here:
viewtopic.php?p=72520#p72520
Post Reply