Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Trouble playing videos

  1. #1
    Join Date
    Apr 2008
    Beans
    132

    Question Trouble playing videos

    AVI movie files aren't playing well in Ubuntu. I get audio but the screen stays black, there's no picture. i downloaded VLC player and mplayer and neither of them work. Same thing: Black screen with audio.

    Is there a codec pack out there that I should download or something?

  2. #2
    Join Date
    Feb 2008
    Beans
    5,636

    Re: Trouble playing videos

    Have you installed the restricted extras?

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

    Re: Trouble playing videos

    VLC comes with its own dependencies. Sounds more like a faulty AVI file than a codec problem. Right-click on one of your problem AVIs > Properties > Audio/Video tab. What codecs (if any) are showing under Video and Audio?
    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.

  4. #4
    Join Date
    Apr 2008
    Beans
    132

    Re: Trouble playing videos

    Quote Originally Posted by coffeecat View Post
    VLC comes with its own dependencies. Sounds more like a faulty AVI file than a codec problem. Right-click on one of your problem AVIs > Properties > Audio/Video tab. What codecs (if any) are showing under Video and Audio?
    Every file and even other video playing programs do the same thing so i think it has something to do with the system

    I attached a picture of the properties window.
    Attached Images Attached Images
    • File Type: png a.png (56.9 KB, 11 views)

  5. #5
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Trouble playing videos

    Try this then, install mplayer-nogui and play your videos from terminal.

    Code:
    sudo aptitude -y install mplayer-nogui
    Playing video from terminal:

    Code:
    mplayer /path/to/your/video/file
    Almost all the video's can play here.None of the video's failed for me.

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

    Re: Trouble playing videos

    Hmm. Xvid and mp3 shouldn't be a problem. When I said that VLC came with its own dependencies I was sure that it didn't need the restricted-extras stuff, but try installing the package ubuntu-restricted-extras (if you haven't already) just in case.
    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
    Apr 2008
    Beans
    132

    Re: Trouble playing videos

    Quote Originally Posted by coffeecat View Post
    Hmm. Xvid and mp3 shouldn't be a problem. When I said that VLC came with its own dependencies I was sure that it didn't need the restricted-extras stuff, but try installing the package ubuntu-restricted-extras (if you haven't already) just in case.
    Installed them, but still nothing...
    Attached Images Attached Images

  8. #8
    Join Date
    Aug 2009
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Trouble playing videos

    Quote Originally Posted by Brii View Post
    Installed them, but still nothing...

    Have you tried the one which i told you in my last post.

  9. #9
    Join Date
    Apr 2008
    Beans
    132

    Re: Trouble playing videos

    Quote Originally Posted by karthick87 View Post
    Have you tried the one which i told you in my last post.
    Yeah I tried and got this error:

    mplayer: relocation error: mplayer: symbol rgb24toyv12, version LIBSWSCALE_0 not defined in file libswscale.so.0 with link time reference

  10. #10
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Trouble playing videos

    I've rarely had problems with AVI, particularly if the files are encoded with XviD.

    Might I suggest trying the version of mplayer that is maintained by the developer of the excellent smplayer GUI? Follow the instructions on this page to add the repository. (Launchpad seems rather slow at the moment, so be patient.)

    Otherwise you might try compiling your own copy of mplayer to see if that will do the trick. See

    http://ubuntuforums.org/showthread.php?t=1542240
    http://ubuntuforums.org/showpost.php...6&postcount=10

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •