Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Effects & Customization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Desktop Effects & Customization
This section is for all your compositing needs. This includes Beryl, Compiz, xcompmgr, and other fancy apps which take advantage of compositing managers such as kiba-dock and avant window decorator

 
Thread Tools Display Modes
Old July 22nd, 2007   #1
kevinmedina
5 Cups of Ubuntu
 
Join Date: Jun 2007
Beans: 39
SOLUTION: Video Playback Problem in Compiz-Fusion

SOLUTION: Video Playback Problem in Compiz-Fusion
I was searching high and low for a solution to a video playback problem while running Compiz-Fusion:

While running Compiz-Fusion, I wouldn't be able to see any video play while either moving the window, viewing desktops in expo, 3d cube, or any other cool effect for that matter; instead I would see a blue screen, including when viewing in full screen. After days of trying out all sorts of different things, I found the final solution! It is from Gremlinzzz, written in this thread: http://ubuntuforums.org/showthread.php?t=480357

* GStreamer (The default video player in Ubuntu, totem-gstreamer, and any video player that is based on the gstreamer backend)
o Open a terminal and type "gstreamer-properties". Press Enter.
o Click the Video tab.
o Under Default Video Plugin select "X Window System (No Xv)".
o Click Test to verify that video playback is working (you should be able to see the standard TV testing colour stripes).
o Click Close

* VLC (VLC is not installed by default; you need to search in the package manager, then install)
o Start VLC and click on Settings, then Preferences.
o Expand Video and then expand Output modules. You will notice several options for output device.
o Select the item Output modules, and notice the checkbox at the bottom right that says Advanced options. Check the box, and now you have the option to select a different output device.
o Pick X11 video output
o Click on Save and you are set!

* MPlayer (Mplayer is not installed by default)
o Start Mplayer
o Right-click on the screen and select Preferences
o Select the Video tab and under Available Drivers select "X11 (XImage/Shm)"
o Click Save and restart the program for the setting to take effect.
+ Some users reported that MPlayer may not be able to show videos in full screen.

* Xine
o Start xine
o Click File, then Configure and then Preferences
o In experience_level select "Master Of The Known Universe" so that all available settings are visible.
o Select the tab for video.
o Under Driver select "xshm".
o Restart xine.
+ The same process enables Totem that has the totem-xine backend configured.
---

I'm posting this because this solution isn't advertised as being one for the blue screen problem that many people experience with Compiz Fusion but never find the solution to. I'm going to post this in a variety of other forums where I've found the problem posted. I hope this helps!!!!
kevinmedina is offline   Reply With Quote
Old August 3rd, 2007   #2
ayoli
Fresh Brewed Ubuntu
 
ayoli's Avatar
 
Join Date: Jun 2006
Location: Millau, France
Beans: 1,477
Ubuntu 9.10 Karmic Koala
Send a message via Yahoo to ayoli
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

yay, that helped me, thx
__________________
my blog - linux user #423778 - Ubuntu user #4214
HP nc6400 Core duo 1,66GHz Ram 3Go GChip i945GM HD 250Go@7200rpm
Get a dynamic blogroll - Install gnome globalmenu
ayoli is offline   Reply With Quote
Old September 8th, 2007   #3
PaulRay
First Cup of Ubuntu
 
Join Date: Apr 2006
Location: Currently, Singapore
Beans: 7
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

I just wanted to second that big thank you! I thought I'd tried everything, but these solutions solved the problem perfectly.
PaulRay is offline   Reply With Quote
Old September 11th, 2007   #4
NiceGuy
Gee! These Aren't Roasted!
 
NiceGuy's Avatar
 
Join Date: Apr 2005
Location: Harrogate, UK
Beans: 182
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

Quote:
Originally Posted by kevinmedina View Post
+ The same process enables Totem that has the totem-xine backend configured.
Not quite true... The version of totem-xine which ships with gutsy (I haven't tried other versions) has it's own config file, xine_config, which you need to edit. This can be found in the .gnome2/Totem/ in your home folder.

Just find where it says:
Code:
# video driver to use
# string, default: auto
#video.driver:auto
and change it to:
Code:
# video driver to use
# string, default: auto
video.driver:xshm
__________________
The linux (lama) song
Here's a linux, there's a linux and another little linux, fuzzy linux, funny linux, linux linux, Duck!
Linux linux, Ubuntu linux, Warthog, Hedgehog, Badger linux
Linux linux, Dapper linux, dapper, dapper, duck!
NiceGuy is offline   Reply With Quote
Old September 22nd, 2007   #5
TeagueSterling
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 2
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

Thanks for the tip Kevin.
I was not even able to open totem before this. To make the change in xine I had to temporarily load with a different drive by running
Code:
xine --video-driver xshm
I believe.
In order to get this to work with Totem in Feisty, I had to make this change manually in
Code:
~/.gnome2/totem_config
to get it to work. It was the same change NiceGuy noted above for Gusty, but in a slightly differently location.

Thanks Again!
TeagueSterling is offline   Reply With Quote
Old September 24th, 2007   #6
DutchKillerBee
First Cup of Ubuntu
 
Join Date: May 2006
My beans are hidden!
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

When I set the video playback to xshm my cpu is running constantly at 100 % when wachting a movie in full screen mode
When using the auto option only 25% but off course a blue screen when moving Totem.
I'll stick to the auto option
Just my 2 cents....
DutchKillerBee is offline   Reply With Quote
Old September 29th, 2007   #7
narx
First Cup of Ubuntu
 
Join Date: Mar 2007
Beans: 10
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

thank goodness i found this thread..

been poking around for a week to find out how to make vlc work in compiz..

finally got it!! thanks man..

but now there is another problem, video quality is a little bit slack and there are sometimes delay in frames...

any idea?

thanks guys.
narx is offline   Reply With Quote
Old September 30th, 2007   #8
wnwek
5 Cups of Ubuntu
 
wnwek's Avatar
 
Join Date: Sep 2007
Beans: 16
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

Worked for me! Thanks!

Configuration: Ubuntu 7.04 Dell Latitude D520 512 MB RAM Intel Duo (Compiz Desktop Effects enabled)
wnwek is offline   Reply With Quote
Old October 19th, 2007   #9
msundman
5 Cups of Ubuntu
 
Join Date: Jan 2007
My beans are hidden!
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

It isn't really a realistic solution to use xshm. Or, well, it will show the video, but it will look worse than a baboon's behind (and eat 300-500 % as much CPU).
msundman is offline   Reply With Quote
Old October 21st, 2007   #10
juamez.
Just Give Me the Beans!
 
juamez.'s Avatar
 
Join Date: Oct 2007
Location: Gent, Belgium
Beans: 65
Ubuntu 8.10 Intrepid Ibex
Re: SOLUTION: Video Playback Problem in Compiz-Fusion

I noticed that while X11 output in VLC gives certainty of watching the video ouput, it kind of disables (am I right?) the postprocessing that is usually done on mpeg4 encoded files, and makes it look really pixelated when maximized or in full screen. I would like another solution where this is not the case. Also the cpu usage is indeed quite high when the X11 output method is used.

Last edited by juamez.; October 21st, 2007 at 06:00 AM..
juamez. is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:27 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry