Results 1 to 10 of 10

Thread: VLC can't open *.avi file

  1. #1
    Join Date
    Jun 2011
    Location
    Mexico
    Beans
    18
    Distro
    Ubuntu 16.04 Xenial Xerus

    Talking VLC can't open *.avi file

    I thought VLC was cool, but not anymore, since it CAN'T open a simple .avi file:
    Code:
    [0x2ca0be0] avi demux error: avi module discarded (invalid file)
    Worst, Totem can open it, but I can't open .srt or .*** files for subtitles, I tried Kaffeine and it doesen't support subs either, Xine just crashes when I try to open a .srt file, Mplayer... well, that's a terminal based player, I am not that geeky.
    Thanks a lot LINUX, now I'll eat my popcorn "movieless"...

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: VLC can't open *.avi file

    Post moved to its own thread, title changed.

  3. #3
    Join Date
    Jan 2010
    Beans
    61

    Re: VLC can't open *.avi file

    First*, if you haven't already, go here to make sure you have the correct codecs needed to play your video type:

    http://medibuntu.org/repository.php

    Don't worry, I've been using Medibuntu as a repository for years, these guys are legit.

    After that, try installing this:

    ubuntu-restricted-extras

    If it's already installed, do a complete removal and install it again. This will pick up on a few things, like Flash, but should also specifically pick up on the codecs needed for your video player.

    If you need to play some purchased DVDs, you'll want to go through with this as well:

    https://help.ubuntu.com/community/Re...ts/PlayingDVDs

    *make sure you are legally able to do this in your country, blah blah blah

    EDIT: And yea, I don't really use subtitles myself but I'll do a Google and see what I come up with.

    EDIT2: Have you tried this? http://linuxandfriends.com/2009/08/2...-totem-player/ If you could post a little more of what's been done thus far besides error messages, that'd be cool too.
    Last edited by Captain Smiley Pants; September 26th, 2011 at 12:14 AM.

  4. #4
    Join Date
    Jun 2011
    Location
    Wollongong, Australia
    Beans
    148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: VLC can't open *.avi file

    Quote Originally Posted by Captain Smiley Pants View Post
    First*, if you haven't already, go here to make sure you have the correct codecs needed to play your video type:

    http://medibuntu.org/repository.php

    Don't worry, I've been using Medibuntu as a repository for years, these guys are legit.

    After that, try installing this:

    ubuntu-restricted-extras

    If it's already installed, do a complete removal and install it again. This will pick up on a few things, like Flash, but should also specifically pick up on the codecs needed for your video player.

    If you need to play some purchased DVDs, you'll want to go through with this as well:

    https://help.ubuntu.com/community/Re...ts/PlayingDVDs

    *make sure you are legally able to do this in your country, blah blah blah

    EDIT: And yea, I don't really use subtitles myself but I'll do a Google and see what I come up with.
    While this is always useful, it will have no impact on VLC's ability to play video files (cept dvd's) as it contains its own set of decoders (based on ffmpeg i think). Also, the problem is with the avi, and avi is not a codec, it's a container.

    Install mediainfo (i think it's in the medibuntu repos) and see what it says about the file. VLC is saying it's not properly constructed/not an .avi file.

  5. #5
    Join Date
    Jan 2010
    Beans
    61

    Re: VLC can't open *.avi file

    Quote Originally Posted by pjd99 View Post
    While this is always useful, it will have no impact on VLC's ability to play video files (cept dvd's) as it contains its own set of decoders (based on ffmpeg i think). Also, the problem is with the avi, and avi is not a codec, it's a container.

    Install mediainfo (i think it's in the medibuntu repos) and see what it says about the file. VLC is saying it's not properly constructed/not an .avi file.
    Bah, forgot about that too. Brain fart.

  6. #6
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: VLC can't open *.avi file

    Quote Originally Posted by pjd99 View Post
    Install mediainfo (i think it's in the medibuntu repos) and see what it says about the file.
    That's very useful - thanks. I'd not heard of it before and did a bit of digging. I don't see it in medibuntu or the Ubuntu repos, but I found this:

    http://mediainfo.sourceforge.net/en

    Which leads to this:

    http://mediainfo.sourceforge.net/en/Download

    And this:

    https://launchpad.net/~shiki/+archive/mediainfo

    I'll be interested to see if the OP has a bad AVI file.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  7. #7
    Join Date
    Jun 2011
    Location
    Wollongong, Australia
    Beans
    148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: VLC can't open *.avi file

    That's right, I installed it from a PPA... I just noticed that it seems to be lacking features it used to have. Probably a Natty issue, as there's no menus anymore.

  8. #8
    Join Date
    Dec 2006
    Beans
    7,349

    Re: VLC can't open *.avi file

    Quote Originally Posted by Osmodivs View Post
    Mplayer... well, that's a terminal based player, I am not that geeky.
    MPlayer has a few graphical frontends, perhaps try SMPlayer:

    Code:
    sudo apt-get install smplayer
    You think that's air you're breathing now?

  9. #9
    Join Date
    Jun 2011
    Location
    Wollongong, Australia
    Beans
    148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: VLC can't open *.avi file

    Quote Originally Posted by andrew.46 View Post
    MPlayer has a few graphical frontends, perhaps try SMPlayer:

    Code:
    sudo apt-get install smplayer
    +1 for mplayer. Very few files refuse to work with this marvellous piece of software.

    I'll give a shout out to gmplayer (mplayer-gui in the repos), that's my favourite gui for it. Never could get used to the others...

  10. #10
    Join Date
    Dec 2006
    Beans
    7,349

    Re: VLC can't open *.avi file

    Quote Originally Posted by pjd99 View Post
    I'll give a shout out to gmplayer (mplayer-gui in the repos), that's my favourite gui for it. Never could get used to the others...
    Mind you there is a new kid on the block that is taking up where SMPlayer left off and that is UMPlayer. A very capable gui for the commandline player which I did not mention before as it is not yet in the Ubuntu repositories .
    Attached Images Attached Images
    You think that's air you're breathing now?

Bookmarks

Posting Permissions

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