{"id":198,"date":"2007-08-10T22:20:49","date_gmt":"2007-08-10T22:20:49","guid":{"rendered":"http:\/\/thedarkmaster.wordpress.com\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/"},"modified":"2007-08-10T22:20:49","modified_gmt":"2007-08-10T22:20:49","slug":"solving-video-playback-problems-in-compiz-fusion-beryl","status":"publish","type":"post","link":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/","title":{"rendered":"Bypassing Video playback problems in Compiz Fusion \/ Beryl"},"content":{"rendered":"<p><em>IMPORTANT NOTE:<\/em> As the user Mastro (thank you very much for the info) wrote in the comments on this page, what follows will work but it&#8217;s NOT a solution, only a work-around to the problem. As he says, <em>&#8221; using software video rendering instead of graphic card video rendering lead to lower performance and less quality\u2026&#8221; <\/em>but it will work and you will have no problem in any case. If you want to completely SOLVE the problem, then you can only use a patched version of MPlayer. Here are the suggestions and instructions by Mastro:<\/p>\n<blockquote><p>The only way to use the graphic card with video playback while using AIGLX\/XGL is to enable the Videoplayback Compiz plugin and to patch mplayer to use this plugin\u2026 (at the moment mplayer is the only player that has a patch for this)<\/p>\n<p>in the future all video player software should have this ability. Since Compiz is still a unstable software players doesn\u2019t add support for it.. do you want it? ask them! File a Bug report\/request feature<\/p>\n<p>that\u2019s what i mean: <a href=\"http:\/\/www.youtube.com\/watch?v=vPWMVxkGUd8\" rel=\"nofollow\">http:\/\/www.youtube.com\/watch?v=vPWMVxkGUd8<\/a><\/p>\n<p>the only repository i know that already have a patched version of Mplayer is 3v1n0 (trevino: is an italian guy) repository (for ubuntu) i don\u2019t know of others\u2026 but may be they exist<br \/>\n<a href=\"http:\/\/3v1n0.tuxfamily.org\/apt-repository\/\" rel=\"nofollow\">http:\/\/3v1n0.tuxfamily.org\/apt-repository\/<\/a><\/p>\n<p>the alternative option is to manually compile it with the patch..<br \/>\n<a href=\"http:\/\/lists.freedesktop.org\/archives\/xorg\/2007-March\/022343.html\" rel=\"nofollow\">http:\/\/lists.freedesktop.org\/archives\/xorg\/2007-March\/022343.html<\/a><br \/>\n<a href=\"http:\/\/www.mail-archive.com\/compiz@lists.freedesktop.org\/msg02164.html\" rel=\"nofollow\">http:\/\/www.mail-archive.com\/compiz@lists.freedesktop.org\/msg02164.html<\/a><br \/>\nit\u2019s not an easy thing<\/p>\n<p>again\u2026<br \/>\ngo to your media-player homepage and open a bug asking for the plugin support<\/p>\n<p>ps: this doesn\u2019t work with mplayer-plugin (browser build-in player) or with kmplayer.. it only work with mplayer (command line) and gmplayer (gtk\/gnome mplayer GUI)<\/p>\n<p>a little note:<br \/>\nmplayer with the patch doesn\u2019t playback with XV if you are without compiz<\/p>\n<p>and with compiz enabled could be slower then without patch\/compiz<br \/>\nthis depends on the driver support to that plugin\u2026<br \/>\ni\u2019ve preferred to remove mplayer with the patch and to disable compiz when i want to watch a video<\/p><\/blockquote>\n<p>So, now you have three options to correctly watch a movie in a Compiz Fusion enabled system:<\/p>\n<ol>\n<li>Follow this guide and bypass the problem<\/li>\n<li>Use a patched Mplayer<\/li>\n<li>Disable Compiz Fusion (and this was the most obvious thing to do from the beginning \ud83d\ude41 )<\/li>\n<\/ol>\n<p>In any case I suggest you to input the bug to the staff of your preferred video player. It will surely help the development of Compiz Fusion and of the player too. Good luck then! Here starts the guide \ud83d\ude42<\/p>\n<p>Well, surely you love all of the wonderful effects that Compiz Fusion or Beryl can give to your desktop. But surely you also found out a lot of problems when trying to watch movies with your prefered Video player. An ugly black screen instead of you preferred TV show, full screen windows becoming semi-transparent&#8230;. well, that surely is not good. I&#8217;ve been looking in the net for a solution to all of this problems and I found <a href=\"http:\/\/thedevelopers.netsons.org\/?p=242\" target=\"_blank\">this great article<\/a> for what concerns the black screen but no info for the transparent fullscreen mode. Then I posted in the Compiz Fusion FOrum and I found a solution to this problem too \ud83d\ude42<!--more--><\/p>\n<p>So let&#8217;s start working and see how we can get rid of all the problems with these very used movie players: GStreamer, vlc, Mplayer, xine e Realplayer.<span><\/span><\/p>\n<p><em><strong>Gstreamer<\/strong><\/em><\/p>\n<p>That&#8217;s the default Ubuntu player, used by Totem. To correctly visualize you video files with Totem  proceed as follows:<\/p>\n<p>1) Open a terminal and enter:<\/p>\n<blockquote><p>gstreamer-properties<\/p><\/blockquote>\n<p>2) Move to the Video tag.<br \/>\n3) In default video plugin select \u201cX Window System (without Xv)\u201d.<br \/>\n4) Click on try to verify if it works fine.<br \/>\n5) Close this window, problems solved.<\/p>\n<p><em><strong>Vlc<\/strong><\/em><\/p>\n<p>That&#8217;s my preferred player, I always use it and surely many of you do too. It is very important to have it working correctly, so:<\/p>\n<p>1) Run vlc.<br \/>\n2) Settings &#8211;&gt; Preferences.<br \/>\n3) Selct Video and then outpoot modules.<br \/>\n3) Check the little &#8220;Advanced options&#8221; check box on the button left corner of this window.<br \/>\n4) New options will now appear, so in Video outpoot choose &#8220;X11 video out&#8221;.<br \/>\n5) Save and exit. Mission completed.<br \/>\n<em><strong>Mplayer<\/strong><\/em><\/p>\n<p>I never use it and every time I try to open something with it, it never works ;P but if you use it&#8230;:<\/p>\n<p>1) Run Mplayer.<br \/>\n2) Right click on the screen and select Preferences.<br \/>\n3) Select the video tag and in available drivers choose X11 (XImage\/Shm).<br \/>\n4) Save and restart the application.<\/p>\n<p><em><strong>Xine<\/strong><\/em><\/p>\n<p>Very useful if you use Kaffeine or Totem with xine:<\/p>\n<p>1) Run xine.<br \/>\n2) File &#8211;&gt; configure &#8211;&gt; preferences.<br \/>\n3) In experience_level select \u201cMaster Of The Known Universe\u201d so that all the setting become visible.<br \/>\n4) Select the video tag.<br \/>\n5) In driver choose \u201cxshm\u201d.<br \/>\n6) Restart Xine.<\/p>\n<p><em><strong>Real Player<\/strong><\/em><\/p>\n<p>Few passages are needed to configure it:<\/p>\n<p>1) Run Real Player.<br \/>\n2) Move to Settings &#8211;&gt; preferences.<br \/>\n3) Select the \u201cHardware\u201d tab.<br \/>\n4) Uncheck the check box  \u201cUseXVideo\u201d.<br \/>\n5) Restart Real Player.<\/p>\n<p><strong><em>Transparent Full Screen problem<\/em><br \/>\n<\/strong><\/p>\n<p>This is a problem that only occurs with Compiz Fusion. So to set it properly we&#8217;ll need CompizConfig Settings Manager. You can access it from System &#8211;&gt; Preferences in Gnome or using the Compiz Fusion Icon I described you in <a href=\"http:\/\/thedarkmaster.wordpress.com\/2007\/08\/10\/compiz-fusion-latest-eye-candy-things-how-to-get-em\/\" target=\"_blank\">THIS article<\/a>.<\/p>\n<p>Now click on the &#8220;General&#8221; button (On the left) and then select the General Options button. Move to the Opacity Settings tab. Select the existing string, edit it and substitute it with this line:<\/p>\n<blockquote><p>((type=Unknown | Menu | PopupMenu | DropdownMenu | Tooltip | Notification | Combo | Dnd | name=sun-awt-X11-XWindowPeer) | (type=Normal &amp; override_redirect=1)) &amp; !(name=sun-awt-X11-XFramePeer | name=sun-awt-X11-XDialogPeer | state=fullscreen | name=^x11$ | name=^xv$ | name=^xine Video Window$)<\/p><\/blockquote>\n<p>Set the Opacity Value to 100 and click OK. The trick is done, try it yourself! The people there at opencomposite say that this is not a bug but a simple setting issue&#8230; well, that&#8217;s exactly what a bug is. Something unsolved that makes a program behave in a different way than that it should be meant to act. So, call it whatever you like, for me it is a bug and I&#8217;m sure you agree with me since it has to be solved manually and sistematically on each Compiz Fusion installation ;P<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IMPORTANT NOTE: As the user Mastro (thank you very much for the info) wrote in the comments on this page, what follows will work but it&#8217;s NOT a solution, only a work-around to the problem. As he says, &#8221; using software video rendering instead of graphic card video rendering lead \u2026<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/\">Continue reading<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[26,29,30,11],"tags":[],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-beryl-and-other-special-desktop-effects","category-free-software-and-tools","category-guides-and-helping-articles","category-linux-and-oss"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Bypassing Video playback problems in Compiz Fusion \/ Beryl - The Black Pit<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bypassing Video playback problems in Compiz Fusion \/ Beryl - The Black Pit\" \/>\n<meta property=\"og:description\" content=\"IMPORTANT NOTE: As the user Mastro (thank you very much for the info) wrote in the comments on this page, what follows will work but it&#8217;s NOT a solution, only a work-around to the problem. As he says, &#8221; using software video rendering instead of graphic card video rendering lead \u2026 Continue reading\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/\" \/>\n<meta property=\"og:site_name\" content=\"The Black Pit\" \/>\n<meta property=\"article:published_time\" content=\"2007-08-10T22:20:49+00:00\" \/>\n<meta name=\"author\" content=\"thedarkmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"thedarkmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/\",\"url\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/\",\"name\":\"Bypassing Video playback problems in Compiz Fusion \/ Beryl - The Black Pit\",\"isPartOf\":{\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/#website\"},\"datePublished\":\"2007-08-10T22:20:49+00:00\",\"author\":{\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/#\/schema\/person\/79b9b5877e45f374b2e810a13cde6b32\"},\"breadcrumb\":{\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bypassing Video playback problems in Compiz Fusion \/ Beryl\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/#website\",\"url\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/\",\"name\":\"The Black Pit\",\"description\":\"A Blog about Passions, Creations and nerdish Tricks\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/#\/schema\/person\/79b9b5877e45f374b2e810a13cde6b32\",\"name\":\"thedarkmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/690b08eea1eefe5aee8ad36172c51ad4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/690b08eea1eefe5aee8ad36172c51ad4?s=96&d=mm&r=g\",\"caption\":\"thedarkmaster\"},\"url\":\"http:\/\/www.lucademarini.com\/thedarkmaster\/author\/thedarkmaster\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bypassing Video playback problems in Compiz Fusion \/ Beryl - The Black Pit","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/","og_locale":"en_US","og_type":"article","og_title":"Bypassing Video playback problems in Compiz Fusion \/ Beryl - The Black Pit","og_description":"IMPORTANT NOTE: As the user Mastro (thank you very much for the info) wrote in the comments on this page, what follows will work but it&#8217;s NOT a solution, only a work-around to the problem. As he says, &#8221; using software video rendering instead of graphic card video rendering lead \u2026 Continue reading","og_url":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/","og_site_name":"The Black Pit","article_published_time":"2007-08-10T22:20:49+00:00","author":"thedarkmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thedarkmaster","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/","url":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/","name":"Bypassing Video playback problems in Compiz Fusion \/ Beryl - The Black Pit","isPartOf":{"@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/#website"},"datePublished":"2007-08-10T22:20:49+00:00","author":{"@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/#\/schema\/person\/79b9b5877e45f374b2e810a13cde6b32"},"breadcrumb":{"@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/2007\/08\/10\/solving-video-playback-problems-in-compiz-fusion-beryl\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.lucademarini.com\/thedarkmaster\/"},{"@type":"ListItem","position":2,"name":"Bypassing Video playback problems in Compiz Fusion \/ Beryl"}]},{"@type":"WebSite","@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/#website","url":"http:\/\/www.lucademarini.com\/thedarkmaster\/","name":"The Black Pit","description":"A Blog about Passions, Creations and nerdish Tricks","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.lucademarini.com\/thedarkmaster\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/#\/schema\/person\/79b9b5877e45f374b2e810a13cde6b32","name":"thedarkmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.lucademarini.com\/thedarkmaster\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/690b08eea1eefe5aee8ad36172c51ad4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/690b08eea1eefe5aee8ad36172c51ad4?s=96&d=mm&r=g","caption":"thedarkmaster"},"url":"http:\/\/www.lucademarini.com\/thedarkmaster\/author\/thedarkmaster\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7l6Mz-3c","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":0,"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lucademarini.com\/thedarkmaster\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}