{"id":123,"date":"2008-12-26T14:49:00","date_gmt":"2008-12-26T04:49:00","guid":{"rendered":"https:\/\/www.serenux.com\/?p=123"},"modified":"2021-01-14T14:52:50","modified_gmt":"2021-01-14T04:52:50","slug":"howto-eliminate-the-green-bar-on-video-playback-in-totem-and-other-media-players","status":"publish","type":"post","link":"https:\/\/www.serenux.com\/index.php\/2008\/12\/26\/howto-eliminate-the-green-bar-on-video-playback-in-totem-and-other-media-players\/","title":{"rendered":"HowTo: Eliminate the Green Bar on video playback in Totem (and other media players)"},"content":{"rendered":"\n<p>Some people, including myself, have experienced an annoying issue whereby some videos you playback, particularly those encoded with the Xvid codec, have an apparent corruption of video represented by a thick Green Bar(TM) somewhere on the image. Generally the colours are askew as well and sometimes sections of the image are blurred. You might assume that the original video is corrupt in some way, but this is not the case as the video will typically run fine through media players on other platforms.<\/p>\n\n\n\n<p>The Green Bar(TM) and general video corruption looks similar to this:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20160311193212im_\/http:\/\/www.serenux.com\/wp-content\/uploads\/2008\/12\/totem_greenbar.jpg\" alt=\"\"\/><figcaption>The dreaded Green Bar of Death<sup>TM<\/sup><\/figcaption><\/figure><\/div>\n\n\n\n<p>The issue is that the XVideo extension of X Windows (aka&nbsp;<em>Xv<\/em>) is having trouble dealing with the decoded video data when using your video card to scale the video to fit the window. There is a fix, however, at a minor cost of some CPU time \u2013 instead of getting your video card to do the scaling, get the CPU to do it instead.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Press ALT+F2 to bring up the Run Application dialog (or just open a terminal) and type in\u00a0<em>gstreamer-properties<\/em>\u00a0and hit Enter.<br><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20160311193216im_\/http:\/\/www.serenux.com\/wp-content\/uploads\/2008\/12\/gstreamersettings_runapp.jpg\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>You will be presented with the GStreamer properties app. Click on the\u00a0<em>Video<\/em>\u00a0tab and you will see the following:<br><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20160311193219im_\/http:\/\/www.serenux.com\/wp-content\/uploads\/2008\/12\/gstreamersettings_default.jpg\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Change the\u00a0<strong>Default Output Plugin<\/strong>\u00a0from\u00a0<em>Autodetect<\/em>\u00a0to\u00a0<em>X Window System (No Xv)<\/em>\u00a0and then close the application.<br><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20160311193223im_\/http:\/\/www.serenux.com\/wp-content\/uploads\/2008\/12\/gstreamersettings_noxv.jpg\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Now re-run your video file through Totem and the Green Bar(TM) should now be gone. Scaling of the video to fit the window is now being done by the CPU. The impact should be negligible. Should you experience playback slowdown with other videos that never had the Green Bar(TM) issue previously, you should go back into GStreamer\u2019s properties and re-enable Xv as required.<br><\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/web.archive.org\/web\/20160311193227im_\/http:\/\/www.serenux.com\/wp-content\/uploads\/2008\/12\/totem_greenbar_fixed.jpg\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>Retrieve popcorn and enjoy movie.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Some people, including myself, have experienced an annoying issue whereby some videos you playback, particularly those encoded with the Xvid codec, have an apparent corruption of video represented by a thick Green Bar(TM) somewhere on the image. Generally the colours are askew as well and sometimes sections of the image are blurred. You might assume [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":1,"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/posts\/123\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serenux.com\/index.php\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}