Page 1 of 1
Video on Linux not working
Posted: Sat May 30, 2015 7:10 pm
by iamchrislaurie
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,
Re: Video on Linux not working
Posted: Sat May 30, 2015 7:34 pm
by sbenejam
I just tested on Ubuntu 15.04 qlcplus 4.8.5 from git with a mp4 video file and it work.
Re: Video on Linux not working
Posted: Sun May 31, 2015 5:52 am
by iamchrislaurie
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.
Re: Video on Linux not working
Posted: Sun May 31, 2015 6:37 am
by sbenejam
Have you tried another video format. I think qlcplus uses gstreamer for video playback maybe installing gstreamer packages should work.
Re: Video on Linux not working
Posted: Sun May 31, 2015 6:48 am
by sbenejam
I found and old thread in qlcplus forums. Maybe it could help.
http://sourceforge.net/p/qlcplus/discus ... /827acc99/
Re: Video on Linux not working
Posted: Sun May 31, 2015 7:04 am
by sbenejam
With this ppa you can install the gstreamer0.1-ffmpeg package.
https://launchpad.net/~mc3man/+archive/ ... fmpeg-keep
Re: Video on Linux not working
Posted: Sun May 31, 2015 7:14 am
by sbenejam
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
Re: Video on Linux not working
Posted: Sun May 31, 2015 7:43 am
by iamchrislaurie
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.
Re: Video on Linux not working
Posted: Mon Jun 01, 2015 10:04 am
by mcallegari
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.
Re: Video on Linux not working
Posted: Mon Jun 01, 2015 6:02 pm
by sbenejam
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.
Re: Video on Linux not working
Posted: Tue Jun 02, 2015 3:38 am
by iamchrislaurie
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.
Re: Video on Linux/Windows not working
Posted: Tue Jun 23, 2015 5:38 pm
by iamchrislaurie
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.