Video on Linux not working

Archive of the non-categorized posts related to the QLC+ technical support.
Please do not create new threads here, instead, use the categories above !
Post Reply
iamchrislaurie
Posts: 58
Joined: Mon Apr 27, 2015 11:27 am
Real Name: Chris Laurie

I build on lubuntu from git and need to get the video working. From reading several posts on this forum it seems that that video works very well in linux, but not for me.

I can play he videos using gnome player but in QLC+ it invokes the play window, but nothing plays - I just get a white (light grey?) screen.

Any help with trying to debug this would be appreciated,
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

I just tested on Ubuntu 15.04 qlcplus 4.8.5 from git with a mp4 video file and it work.
iamchrislaurie
Posts: 58
Joined: Mon Apr 27, 2015 11:27 am
Real Name: Chris Laurie

I'm sure it works for most people, but not for me. I am looking for suggestions about what I can do to analyse and fix it.
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

Have you tried another video format. I think qlcplus uses gstreamer for video playback maybe installing gstreamer packages should work.
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

I found and old thread in qlcplus forums. Maybe it could help.

http://sourceforge.net/p/qlcplus/discus ... /827acc99/
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

With this ppa you can install the gstreamer0.1-ffmpeg package. https://launchpad.net/~mc3man/+archive/ ... fmpeg-keep
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

I tested removing gstreamer0.1-ffmpeg on my system and video playing stop working audio from video works.

Instructions for installing gstreamer0.1-ffmpeg on Ubuntu.

sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.1-ffmpeg
iamchrislaurie
Posts: 58
Joined: Mon Apr 27, 2015 11:27 am
Real Name: Chris Laurie

Hi Santiago

Thanks for suggestions - unfortunately it did not do the trick.

I have tried 3 different formats: avi, mp4 and wmv. All of them plays OK with gnome player. In QLC+ the player window opens and nothing happens. It does not close.

I have installed the gstreamer package - no difference

I compile from git without any problems and I have the qt5multimedia package installed.

I have tried looking in the logs and there is nothing I can see that happens when QLC+ tries to play or when gnome player plays.

edit: Just to add, I do not get audio only.
User avatar
mcallegari
Posts: 4825
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Hi Chris, which version of Qt5 are you using ?
I strongly recommend to use the most recent that you can (5.4.1 at the moment) since the multimedia module received a bit of improvements lately.

Also, can you try to resize the video window when it's playing to see if the video appears ?
What you're seeing kind of reminds me of something I've already seen, but I can't remember if it was related to the QLC+ code or the Qt version.
User avatar
sbenejam
Posts: 621
Joined: Sun Apr 12, 2015 6:28 pm
Location: Spain
Real Name: Santiago Benejam Torres
Contact:

Hi Massimo,
I'm on Ubuntu 15.04 and qt5 version is 5.4.1. Uninstalling gstreamer0.10-ffmpeg installed from ppa video display window show a black screen and only play audio from video. Pressing the button to stop playback it does not stop playing. The only option to stop video is to close qlcplus.
It seems is the same behavior that discussed some time ago in the qlcplus sourceforge forum.
iamchrislaurie
Posts: 58
Joined: Mon Apr 27, 2015 11:27 am
Real Name: Chris Laurie

OK So I downloaded Qt5.4.1 and recompiled with that. I now get the video player winow opening with a black screen and the audio playing but not the video itself, and the player window does not close at the end of the video.

I ran qlc+ from the command line and got a few error messages on the console:
When running qlc+ and opening a workspace with 3 videos in it - the following messages 3 times:

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started

then:

AL lib: UpdateDeviceParms: Failed to set 41000hz, got 48000hz instead

When running video I get this

(qlcplus:12211):GStreamer-CRITICAL**: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed.

When I try to play subsequent videos the last line is repeated once and the same result: player window opens, audio plays (no video) and player window stays open.

When I closeqlc+ I see another error message:

AL Lib: ReleaseALC: 1 device not closed

Edited for clarity.
iamchrislaurie
Posts: 58
Joined: Mon Apr 27, 2015 11:27 am
Real Name: Chris Laurie

Just to add - I've now compiled QLC+ on windows using qt5 as per the wiki and the video on windows have this behaviour:
  • Only wmv seems to play properly. AVI plays the sound only. Other formats like mkv and mp4 plays on vlc but not qlc+
  • Getting the video to play fullscreen on screen is a mission. You have to try a few times changing screen an fullscreen settings and then it will do it. However this is lost when you get back into qlc+. The setting is saved correctly, it just doesn't play on screen2 when you re-open the workspace.
Post Reply