some alpha3 media tests

Report an issue that you found while using QLC+ 5.x.
Please provide as many details as you can, a sample workspace if available and don't forget to read the forum posting guidelines first !
Post Reply
giacomo
Posts: 553
Joined: Tue May 26, 2015 6:17 pm
Real Name:

QLC+5 alpha3 appimage.
preamble: despite all the bugs I really believe and wish that this 5 series will have many potentialities in different usages.

mp4 and avi only the audio is played and a black window opens with the size of the file.

mp3 and png: buttons were working but not the sliders or knobs, after quitting QLC+ and reloading the show I had to reassign all the media to the widgets - this happens every time I reload the show file - and then (?) the sliders and knobs started to work.

png: when "custom geometry" is selected the output is coherent, otherwise with "original geometry selected" the output is a tiny window.

I played only with png images because the videos were not working, I understood that the Z order reflect the order that I play the files.

So far a bug:
the images don't stop playing when you press the button if there is still one opened in the background, indeed I could modify the geometry when the relative intensity button was released.
Same happens for the video: if there is an image opened in the background the audio (because video is not working in my system) keeps playing until I close everything.

attached the file and if needed I can upload some content
Attachments
def.qxw
(8.46 KiB) Downloaded 161 times
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Preliminary comment: Qt relies on gstreamer 1.0 for video playback.
You might need to install extra gstreamer packages to decode various formats. In Ubuntu the packages are called "plugins-good", "plugins-bad" and so on. No idea how they're called on Arch.

P.S. Weren't you using Debian at some point ?!?
giacomo
Posts: 553
Joined: Tue May 26, 2015 6:17 pm
Real Name:

I've checked the same video files with QLC+ 4.11.2 and the last package from GIT and they play as expected
(it's an old issue reported some time ago, I need to reload the media files before being able to play them)
maybe it's a problem related to appimage?

sorry I'm not so technical and I can't help but here the messages from the terminal:

### QLC+ 4.12.0 GIT start:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

## when I play a media I get this message:

Gtk-Message: 11:03:57.970: GtkDialog mapped without a transient parent. This is discouraged.

_______________________________________________________________________
_______________________________________________________________________

### QLC+ 5.0.0_alpha3.Appimage, when I play a video:

qml: Items in list: 0
qml: Items in list: 0
qml: Requested to create function type 512
qml: File list: file:///home/giaco/Videos/Teatro e Arte.mp4
bool Video::setSourceUrl(QString) Source name set: "/home/giaco/Videos/Teatro e Arte.mp4"
Got action: 0x200, history length: 1 (1)
Previous ID -1
Got meta data: "AudioCodec"
Got meta data: "AudioBitRate"
Got meta data: "maximum-bitrate"
Got meta data: "container-format"
Got meta data: "datetime"
Got meta data: "Year"
Got meta data: "AudioCodec"
Got meta data: "AudioBitRate"
Got meta data: "maximum-bitrate"
Got meta data: "VideoCodec"
Got meta data: "VideoCodec"
Got meta data: "PixelAspectRatio"
Got meta data: "Resolution"
Function start(). Name: "Teatro e Arte.mp4" ID: 0 source: 4294967295 0 , startTime: 0
Function preRun. Name: "Teatro e Arte.mp4" ID: 0
Video screen: 0 , geometry: QRect(0,0 640x350)
qml: QML video source: file:///home/giaco/Videos/Teatro e Arte.mp4
Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.vert"
Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.frag"
QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end

*** Problematic Vertex shader source code ***
#define lowp
#define mediump
#define highp
#line 1

***
shader compilation failed:
"0:1(8): error: syntax error, unexpected $end\n"
QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end

*** Problematic Vertex shader source code ***
#define lowp
#define mediump
#define highp
#line 1

***
QOpenGLShaderProgram::uniformLocation(plane3Width): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane3Texture): shader program is not linked
QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane1Width): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane2Width): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane1Texture): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane2Texture): shader program is not linked
QOpenGLShaderProgram::uniformLocation(colorMatrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.vert"
Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.frag"
QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end

*** Problematic Vertex shader source code ***
#define lowp
#define mediump
#define highp
#line 1

***
shader compilation failed:
"0:1(8): error: syntax error, unexpected $end\n"
QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end

*** Problematic Vertex shader source code ***
#define lowp
#define mediump
#define highp
#line 1

***
QOpenGLShaderProgram::uniformLocation(plane3Width): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane3Texture): shader program is not linked
QOpenGLShaderProgram::uniformLocation(qt_Matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane1Width): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane2Width): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane1Texture): shader program is not linked
QOpenGLShaderProgram::uniformLocation(plane2Texture): shader program is not linked
QOpenGLShaderProgram::uniformLocation(colorMatrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.vert"
Failed to find shader ":/qtmultimediaquicktools/shaders/triplanaryuvvideo_core.frag"
QOpenGLShader::compile(Vertex): 0:1(8): error: syntax error, unexpected $end

### these messages are repeated many times ###
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Ouch, it definitely looks like another library is missing.
I'm gonna build another appimage with one extra library and see if that fixes it for you.

[EDIT] alright, it's not a missing library. It's the usual QtMultimedia crap.
See https://bugs.archlinux.org/task/52122
And https://bugreports.qt.io/browse/QTBUG-51064

I'm not sure if at the moment there is a real solution to this. I need to investigate further.
Is this happening only on Arch or do other users have this issue too on other distros ?
giacomo
Posts: 553
Joined: Tue May 26, 2015 6:17 pm
Real Name:

I've found a discrepancy in the virtual console:
the sliders for the geometry have a range -360 to +360, when these sliders are connected to an external control the factual control range is 0 to 255. Same problem when controlling these sliders with a loopback channel.
Post Reply