This page deals with common issues related to video playback when using Compiz. The information here is intended for AIGLX users.
If you are experiencing a black screen while trying to watch videos, or fullscreen windows are becoming semi-transparent, then these settings may help.
Black screen while viewing videos
This section offers several configuration settings to help with video playback using the most common video players: GStreamer, VLC, Mplayer, Xine, and RealPlayer.
This is the default video player in Ubuntu player, used by Totem. To be able to view your video files correctly with Totem, proceed as follows:
Run gstreamer-properties (you can do this in a terminal or via Alt + F2).
Go to the Video tab.
Under Default Output, for the Plugin, select X Window System (No Xv).
Click on the Test button to verify that it works.
- Close the window.
- Launch VLC.
Go to Settings –> Preferences....
In the left-hand pane, expand the Video section, then select Output modules.
In the bottom-right corner of the window, enable the Advanced options checkbox.
New options will appear in the right-hand pane. For Video output module, select X11 video output from the drop-down menu.
Click on Save in the bottom-left of the window, and exit the program.
- Launch Mplayer.
Right-click on the video window and select Preferences.
Go to the Video tab. In the list of Available drivers, select X11 ( XImage/Shm ).
Click on OK to save your changes, then restart the application.
This is useful if you use Kaffeine or Totem with Xine. If you use Ubuntu 8.04 Hardy see Totem-xine below.
- Launch Xine.
Go to File –> Configure –> Preferences.
For experience_level, select Master Of The Known Universe so that all the setting become visible.
Go to the Video tab.
For the driver, select xshm.
- Restart Xine.
Totem-xine under Ubuntu Hardy 8.04
This is useful if you use Totem with Xine under Ubuntu 8.04 Hardy Heron.
To get totem-xine to work you'll need to remove the totem-gstreamer package and install totem-xine, via the package manager (Synaptic or apt-get). After that, you also need to set totem-xine to use xshm, as follows:
Run gedit ~/.config/totem/xine_config (you can do this in a terminal or via Alt + F2).
Find the following line:
Change it to the following:
Save and close the xine_config file.
Go to Settings –> Preferences.
Go to the Hardware tab.
Uncheck the UseXVideo checkbox.
Getting rid of transparent fullscreen windows
This is a problem that only occurs with Compiz Fusion from Treviño's repository (or other repositories using Treviño's patchset). To correct it, we will need to use the CompizConfig Settings Manager (CCSM), which is found in System –> Preferences in Gnome, or via the Compiz Fusion Icon (fusion-icon).
After you have opened CCSM, follow these steps:
Click on the button for General Options.
Go to the Opacity Settings tab.
There is, most likely, a string value set under the Window opacities list. Select the existing string, click on Edit, and substitute it with this line:
((type=Unknown | Menu | PopupMenu | DropdownMenu | Tooltip | Notification | Combo | Dnd | name=sun-awt-X11-XWindowPeer) | (type=Normal & override_redirect=1)) & !(name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer | state=fullscreen | name=^x11$ | name=^xv$ | name=^xine Video Window$)
Click on OK to save the changes.
VideoPlayback (last edited 2008-06-04 05:03:55 by S01060014d13cb32a)