Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
I run the latest Ubuntu 9.04 and have installed MPlayer and some others. Everytime trying to open avi file, any player (like VLC) does the job, the main picture in ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    4

    Lightbulb how to play AVI in Ubuntu ?

    I run the latest Ubuntu 9.04 and have installed MPlayer and some others.
    Everytime trying to open avi file, any player (like VLC) does the job, the main picture in the player's window pops up and then it shuts down (not the system. Any suggestions? Codecs?
    My machine is 4 years old HP, little compact box with integrated grafics and sound cards.
    Thanx for all hints.

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Install package ubuntu-restricted-extras everything will be done.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    4
    Quote Originally Posted by b2bwild View Post
    Install package ubuntu-restricted-extras everything will be done.
    The package is already there so it is not the case

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute vlc command in Terminal and open avi file. Post error message here, if any.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Try enabling the medibuntu repository, and installing their mplayer package and the metapackage non-free-codecs.

  6. #6
    Just Joined!
    Join Date
    May 2009
    Posts
    4

    VLC opening AVI file: error message

    Quote Originally Posted by devils casper View Post
    Execute vlc command in Terminal and open avi file. Post error message here, if any.
    HERE IT IS:

    x11 video output error: x11 request 132.19 failed with error code 11:
    BadAlloc (insufficient resources for operation)
    X Error of failed request: BadAlloc (insufficient resources for operation)
    Major opcode of failed request: 132 (XVideo)
    Minor opcode of failed request: 19 ()
    Serial number of failed request: 81
    Current serial number in output stream: 82

    THANX FOR SHOWING ME THE LINUX WAYS, I APPRECIATE IT.

    ----------------------------------------

    Well, so the command
    vlc --vout x11 nameofvideo.avi
    WORKS!!!
    Thank you very much (i dont know who posted the comment)
    Is there a way of changing my linux settings permanently in favour of the same result when i open an AVI file by double click on its icon or from a player via Open file?

  7. #7
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    First thing that pops into my head is 3D desktop (compiz), is that enabled? If so try disabling it. I seem to recall reading that in some configurations it can prevent video playback.

  8. #8
    Just Joined!
    Join Date
    May 2009
    Posts
    4

    3D desktop

    Quote Originally Posted by D-cat View Post
    First thing that pops into my head is 3D desktop (compiz), is that enabled? If so try disabling it. I seem to recall reading that in some configurations it can prevent video playback.
    Unfortunatelly, I cant find the compiz manager in my Czech localized Ubuntu. The installation is correct but i see nothing about 3D desktop being enabled or not (The Help does not help either). Where exactly in the System menu should I look for it please? Thanx

  9. #9
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    Hi wolfsberg,
    Ubuntu has problem playing avi files. What I usually do is to use xine library instead of gstreamer group. If you have VLC, then you probably should be able to play avi files. ?! Anyways try the following. Execute:
    Code:
    sudo apt-get install totem-xine
    You can also,
    Code:
    sudo apt-get remove totem-gstreamer
    Once you are done, if you open Totem movie player -> Help -> About, it will show that Movie player is using xine-lib.

    Now, you can play your avi files. I prefer xine coz, all you need to install one library set. If you are using gstreamer, you will have to install gstreamer-plugins-bad, gstreamer-plugins-ugly and what not...

    Hope it helps unless the problem lies somewhere else...
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  10. #10
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Quote Originally Posted by saivin View Post
    If you are using gstreamer, you will have to install gstreamer-plugins-bad, gstreamer-plugins-ugly and what not...
    The ubuntu-restricted-extras metapackage installs all of these gstreamer plugins in one go

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...