Find the answer to your Linux question:
Results 1 to 9 of 9
I never attempted to view these files when I ran regular Ubuntu, so this is a new problem for me. I download .avi files but Movie player asks to search ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    13

    [SOLVED] AVI movies on Mint 10 64-bit


    I never attempted to view these files when I ran regular Ubuntu, so this is a new problem for me.

    I download .avi files but Movie player asks to search for a suitable plugin. I search, but no suitable plugin is found.

    My repositories for "Other" software are: Ubuntu Meerkat, Recommended Updates, Important Security Updates, Canoical Packages, Medibuntu.org/Maverick, file:///usr/share/local-repository binary/

    If I need to add a repository, please advise me which one to add. In Firefox, I see Windows Media Player, flash, Quick Time, Real Player, Java, DivX, iTunes, and mPlayer added as plugins.

    I do not see a plugin for .avi files. I'm guessing that this is the issue.

    Thanks for the assistance,

    -S

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    avi is just a container, it doesn't tell you what's in it.

    If you're using totem, the default player, install libavcodec-unstripped-52 from medibuntu, and then gstreamer0.10-ffmpeg, gstreamer0.10-plugins-bad-multiverse, gstreamer0.10-plugins-ugly-multiverse, and gstreamer0.10-plugins-good.

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    13
    Quote Originally Posted by reed9 View Post
    avi is just a container, it doesn't tell you what's in it.

    If you're using totem, the default player, install libavcodec-unstripped-52 from medibuntu, and then gstreamer0.10-ffmpeg, gstreamer0.10-plugins-bad-multiverse, gstreamer0.10-plugins-ugly-multiverse, and gstreamer0.10-plugins-good.
    Here is the output from a terminal window:

    Code:
    sudo apt-get install gstreamer0.10-ffmpeg
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    gstreamer0.10-ffmpeg is already the newest version.
    The following packages were automatically installed and are no longer required:
      libkresources4 libkldap4 libktnef4 libindicate-qt0 libkleo4
      libboost-program-options1.42.0 libakonadi-kmime4 libmimelib4
      mysql-server-core-5.1 libmessagecore4 libkontactinterface4
      libakonadiprivate1 akonadi-server libmicroblog4 libkpgp4 libqgpgme1 libkabc4
      libkdepim4 libksieve4 mysql-client-core-5.1 libkcal4 libkimap4
      libmailtransport4 libkimproxy4 libmessagelist4 libkpimtextedit4 libkmime4
      libcompfaceg1 kdepimlibs-kio-plugins libakonadi-kabc4 libkpimidentities4
      libkpimutils4 kdepim-runtime libakonadi-kcal4 libesmtp5 libakonadi-contact4
      libakonadi-kde4 libgpgme++2
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    salman@salman-M2NS-NVM ~ $ sudo apt-get install gstreamer0.10-plugins-bad-multiverse
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    gstreamer0.10-plugins-bad-multiverse is already the newest version.
    The following packages were automatically installed and are no longer required:
      libkresources4 libkldap4 libktnef4 libindicate-qt0 libkleo4
      libboost-program-options1.42.0 libakonadi-kmime4 libmimelib4
      mysql-server-core-5.1 libmessagecore4 libkontactinterface4
      libakonadiprivate1 akonadi-server libmicroblog4 libkpgp4 libqgpgme1 libkabc4
      libkdepim4 libksieve4 mysql-client-core-5.1 libkcal4 libkimap4
      libmailtransport4 libkimproxy4 libmessagelist4 libkpimtextedit4 libkmime4
      libcompfaceg1 kdepimlibs-kio-plugins libakonadi-kabc4 libkpimidentities4
      libkpimutils4 kdepim-runtime libakonadi-kcal4 libesmtp5 libakonadi-contact4
      libakonadi-kde4 libgpgme++2
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    salman@salman-M2NS-NVM ~ $ sudo apt-get install gstreamer0.10-plugins-ugly-multiverse
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    gstreamer0.10-plugins-ugly-multiverse is already the newest version.
    The following packages were automatically installed and are no longer required:
      libkresources4 libkldap4 libktnef4 libindicate-qt0 libkleo4
      libboost-program-options1.42.0 libakonadi-kmime4 libmimelib4
      mysql-server-core-5.1 libmessagecore4 libkontactinterface4
      libakonadiprivate1 akonadi-server libmicroblog4 libkpgp4 libqgpgme1 libkabc4
      libkdepim4 libksieve4 mysql-client-core-5.1 libkcal4 libkimap4
      libmailtransport4 libkimproxy4 libmessagelist4 libkpimtextedit4 libkmime4
      libcompfaceg1 kdepimlibs-kio-plugins libakonadi-kabc4 libkpimidentities4
      libkpimutils4 kdepim-runtime libakonadi-kcal4 libesmtp5 libakonadi-contact4
      libakonadi-kde4 libgpgme++2
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    salman@salman-M2NS-NVM ~ $ sudo apt-get install gstreamer0.10-plugins-good
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    gstreamer0.10-plugins-good is already the newest version.
    The following packages were automatically installed and are no longer required:
      libkresources4 libkldap4 libktnef4 libindicate-qt0 libkleo4
      libboost-program-options1.42.0 libakonadi-kmime4 libmimelib4
      mysql-server-core-5.1 libmessagecore4 libkontactinterface4
      libakonadiprivate1 akonadi-server libmicroblog4 libkpgp4 libqgpgme1 libkabc4
      libkdepim4 libksieve4 mysql-client-core-5.1 libkcal4 libkimap4
      libmailtransport4 libkimproxy4 libmessagelist4 libkpimtextedit4 libkmime4
      libcompfaceg1 kdepimlibs-kio-plugins libakonadi-kabc4 libkpimidentities4
      libkpimutils4 kdepim-runtime libakonadi-kcal4 libesmtp5 libakonadi-contact4
      libakonadi-kde4 libgpgme++2
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
    libavcodec-unstripped-52 from medibuntu: did not produce errors when I installed it.
    Last edited by MikeTbob; 12-12-2010 at 05:43 AM. Reason: Added Code Tags

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Does it work with the addition of the unstripped libavcodec?

    If not, if you play the file with mplayer from the command line, you should get some useful info on what's missing
    Code:
    mplayer myvideo.avi
    You can also install mediainfo to get a lot of information on the file, though there doesn't appear to be an official package for Ubuntu 10.10/Mint 10, the 10.04 package will probably work. (As a general rule, though, don't mix packages from different releases.)

  6. #5
    Just Joined!
    Join Date
    Jan 2005
    Posts
    13
    Quote Originally Posted by reed9 View Post
    Does it work with the addition of the unstripped libavcodec?

    If not, if you play the file with mplayer from the command line, you should get some useful info on what's missing
    Code:
    mplayer myvideo.avi
    You can also install mediainfo [/URL]to get a lot of information on the file, though there doesn't appear to be an official package for Ubuntu 10.10/Mint 10, the 10.04 package will probably work. (As a general rule, though, don't mix packages from different releases.)
    Here is the output I get when trying to open with Totem:

    The requested plugins are:

    text/html decoder

    Opening the file command line resulted in errors as well:
    MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
    mplayer: could not connect to socket

    It does not seem to work with the addition of the unstripped libavcodec either.

    When trying to install mediainfo, this was the output I received:

    Code:
    sudo apt-get install mediainfo
    [sudo] password for salman: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package mediainfo
    On mediainfo downloads, I saw Ubuntu packages of it for Lucid Lynx, I thought Mint 10 was based on the Lynx.
    Last edited by MikeTbob; 12-12-2010 at 05:43 AM. Reason: Added Code Tags

  7. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Mint 10 is based on Ubuntu Maverick AFAIK.

    You won't be able to install mediainfo with APT unless you add their PPA repo. There are instructions on the website.

    Is that all the output mplayer gave?

    We're looking for a section of output like this

    Code:
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO:  [XVID]  624x352  24bpp  23.976 fps  929.6 kbps (113.5 kbyte/s)
    Except in your case it should give an error about a missing codec.

  8. #7
    Just Joined!
    Join Date
    Jan 2005
    Posts
    13
    You pointed me in the right direction Reed9

    Here is my sources list:

    Code:
    deb packages.linuxmint.com/]Repository - Linux Mint[/url] julia main upstream import
    deb archive.ubuntu.com/ubuntu/]Index of /ubuntu[/url] maverick main restricted universe multiverse
    deb archive.ubuntu.com/ubuntu/]Index of /ubuntu[/url] maverick-updates main restricted universe multiverse
    deb security.ubuntu.com/ubuntu/]Index of /ubuntu[/url] maverick-security main restricted universe multiverse
    deb archive.canonical.com/ubuntu/]Index of /ubuntu[/url] maverick partner
    deb packages.medibuntu.org/]Medibuntu -- Medibuntu packages[/url] maverick free non-free
    
    # deb archive.getdeb.net/ubuntu[/url] maverick-getdeb apps
    # deb archive.getdeb.net/ubuntu[/url] maverick-getdeb games
    I've seen, in different forums, questions related to the SourceForge repository; I can add it;
    but, which one? Doing Google searches, I get aimed towards the SourceForge FAQ on Mediainfo; still, nothing plainly advises on which repository will need to be added
    to my sources list.
    Last edited by MikeTbob; 12-12-2010 at 05:44 AM. Reason: Added Code Tags

  9. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Code:
    sudo add-apt-repository ppa:nilarimogard/webupd8 
    sudo apt-get update
    sudo apt-get install mediainfo

  10. #9
    Just Joined!
    Join Date
    Jan 2005
    Posts
    13

    Talking All Set

    Here is the information that solved this issue:

    Per Linux Questions, I was pointed to this guide: Comprehensive Multimedia & Video Howto - Ubuntu Forums

Posting Permissions

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