See Beyond Tech

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 20 June 2009

Video Player Quickly Closes, Crashes or flickers for video in Ubuntu?

Posted on 21:29 by Unknown
After a fresh install of Ubuntu on my laptop (it's a 3 year old Dell Inspiron 6400 w/ ATI Mobility Radeon x1400 video card), I tried opening a video of Freedom Fry after downloading it to my desktop. To my surprise, and this is definitely the first time it has happened to me as I recall, the player quit!

I tried double clicking on the video again! Movie Player opened for a couple of seconds, opened and then quit again. I repeated the processes a couple of times, in vain of course. Then I remembered that I might have missed some codec (well, the Stephen Fry's video was in .ogv format, that was supposed to be supported right out of the box) so I added Gstreamer codec packs onto Ubuntu.

In case someone out there is curious this is how you Add GStreamer Codecs to play MP3s and MPEG and MOV files on Ubuntu's default Movie Player... First click on Applications > Add or Remove > Search for GStreamer > Check the checkbox beside the plugins you think you might need > Click the Apply Changes button below > Follow instructions.

However, doing so didn't fix the problem. So I repeated the same process above to go to the Add or Remove window and download VLC. VLC is one player that can play virtually ALL video files out there. Then I double clicked on the video.......... VLC opens..... closes in 0.5 seconds! Still no luck.

Then, I remembered that I had come across a similar problem a while ago, except the problem lead to the video fluttering and flickering when it was played. The solution was to use the X11 form of video output in VLC. And I came across this helpful post in the Ubuntu forums as well where the video player immediately crashed for some other people as well.

So in case you don't know how to change the output format to X11 in VLC, here's how you can do so. Of course, you'll need to get VLC first. Unfortunately, I don't think it's possible to change the output format in the default movie player in Ubuntu, but if someone else knows about how one can do so, please post in comments below.

Changing output format in VLC to prevent it from crashing or flickering when opening video

  1. Go to Applications > Sound & Video > VLC media player
  2. Click Tools > Preferences
  3. Choose Video from the left hand 'pile-on list'
  4. Beside output choose 'X11 video output' like so:
Then just click Save and try opening the file again.

Everything should work flawlessly now!

Why does this problem occur?


The flickering problem in my opinion is some by-product of bad ATI drivers and Compiz code. Some times, if you turn off all compiz effects and switch you appearance settings to minimal, you can get rid of the rapid flickering. I doubt it has anything to do with the codecs or the player as there is no degradation in the audio.

As for the video automatically closing/crashing the player problem, its most likely the graphics card driver. Since the drivers for graphic cards are proprietary (especially if you're using Compiz, you have to switch to the ATI proprietary drivers...) it's likely that there is some 'broken telephone' going on between the OS and the drivers and the hardware causing the problem.
Email ThisBlogThis!Share to XShare to Facebook
Posted in tip, ubuntu | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Subscribe!
    Beyond-Teck is constantly being updated all the time! So it might be a little hard for you to keep up with all the tutorials and tricks an...
  • Contact Me!
    Okay so you want to contact me for something? No Problem! E-Mail You can send all your questions , comments , tips (I need a lot of those)...
  • Google Easter Egg: Change your language to Bork! Bork! Bork!
    Just recently I was watching a video of Marissa Meyer talking about how Google goes about optimizing their site to incease performance and u...
  • WeTransfer Job Ad
    I like using WeTransfer to transfer things that don't fit in emails, mainly because the site is fast, has a large upload limit (2GB!) an...
  • Mail Merge on a Mac
    I've been wanting to do Mail merge on a Mac for a while now, but until now Google seemed to have failed me. I realize that mail merges a...
  • Crayon Physics - I love this game!
    I absolutely love the idea behind creating a game that actually has real-life physics involved. Love the music too. Check it out (you'...
  • Beneficial Exercies for Extensive Computer Use
    Do you use a computer in your office? In your home? Chances are that you'll be using it together for hours together, which can be extrem...
  • Play MP3s or Podcasts through Embedded Player on your website
    Ever wanted to make your own podcast? Or may be post some mp3s into your blog post on blogger or may be wordpress... Well as long as you hav...
  • Cleaning up the code!
    Today, I started work on this blog's template again, to add some more interesting features to it... (like one important feature is the ...
  • How to dim your monitor brightness more than what your monitor allows
    So I recently got a new monitor (will post a review about it later) but I found that the LED monitor was a bit too bright for my eyes, espec...

Categories

  • addons
  • adobe
  • ads
  • adsense
  • apple
  • audio
  • blackberry
  • blog
  • blogger
  • blogging
  • cars
  • cellphones
  • clean
  • code
  • comments
  • cricket
  • downloads
  • ebooks
  • email
  • error
  • file sharing
  • firefox
  • fixes
  • free
  • games
  • gas
  • Gmail
  • google
  • hack
  • hotmail
  • installs
  • instant messaging
  • internet
  • internet explorer
  • ipod
  • laptop
  • Linux
  • Live Writer
  • lol
  • Mac
  • mac. mail
  • mail
  • messenger
  • microsoft
  • Microsoft Word
  • money
  • msn
  • music
  • Musings
  • network
  • news
  • online
  • Outlook
  • page
  • peripherals
  • phones
  • photo
  • photoshop
  • php
  • plagiarism
  • problems
  • productivity
  • programming
  • projects
  • rant
  • Registry
  • Review
  • school
  • Screenshots
  • search
  • security
  • software
  • spam
  • speech
  • speed up windows
  • spyware
  • sysfader
  • technology
  • tip
  • tricks
  • tutorials
  • ubuntu
  • updates
  • video
  • virus
  • voip
  • web
  • wi-fi
  • Windows
  • Windows 7
  • Windows Vista
  • Windows XP
  • wireless
  • work
  • wtf
  • youtube

Blog Archive

  • ►  2013 (5)
    • ►  October (2)
    • ►  August (2)
    • ►  March (1)
  • ►  2012 (6)
    • ►  December (1)
    • ►  October (1)
    • ►  June (1)
    • ►  May (1)
    • ►  January (2)
  • ►  2011 (19)
    • ►  October (1)
    • ►  August (1)
    • ►  July (8)
    • ►  June (1)
    • ►  February (4)
    • ►  January (4)
  • ►  2010 (41)
    • ►  November (1)
    • ►  October (3)
    • ►  September (3)
    • ►  August (2)
    • ►  July (12)
    • ►  June (2)
    • ►  May (5)
    • ►  April (3)
    • ►  March (4)
    • ►  February (4)
    • ►  January (2)
  • ▼  2009 (59)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  September (3)
    • ►  August (4)
    • ►  July (4)
    • ▼  June (14)
      • Search for a word that is at the tip of your tongue
      • Use Problem Recorder to Write Tutorials For Windows 7
      • Windows 7: Get Help From a Friend Feature
      • Readable - A web app that makes it easier for you ...
      • Make opening new windows and tabs in Safari faster
      • Useful key combinations to use Gmail on the Web
      • Muting and unmuting emails (conversations) in Gmail
      • Mac Tip: Use Nocturne or a shortcut to make your s...
      • The plan for summer
      • (k)Ubuntu with compiz has lines on screen after re...
      • Video Player Quickly Closes, Crashes or flickers f...
      • OpenBlu - a presentation theme for OpenOffice Impr...
      • How to search the web faster with Inquisitor
      • How to play tetris on your Mac with Terminal
    • ►  May (1)
    • ►  April (3)
    • ►  March (3)
    • ►  February (4)
    • ►  January (20)
  • ►  2008 (108)
    • ►  December (22)
    • ►  November (10)
    • ►  October (14)
    • ►  August (13)
    • ►  July (13)
    • ►  June (6)
    • ►  May (13)
    • ►  April (10)
    • ►  March (5)
    • ►  January (2)
  • ►  2007 (33)
    • ►  December (8)
    • ►  November (1)
    • ►  October (4)
    • ►  September (10)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (2)
    • ►  April (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2006 (137)
    • ►  December (1)
    • ►  November (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (9)
    • ►  May (20)
    • ►  April (22)
    • ►  March (33)
    • ►  February (20)
    • ►  January (26)
  • ►  2005 (55)
    • ►  December (12)
    • ►  November (19)
    • ►  October (9)
    • ►  September (15)
  • ►  2001 (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile