November 4, 2009 · General ·

Sponsored Link
Problem

After completing the upgrade to Karmic every time if youtry to play any sort of video in VLC none of them work
Solution 1

Install libavcodec52 package using the following command from terminal

sudo apt-get install libavcodec52

or

click on the following link

apt://libavcodec52

Solution 2

Make sure you have installed ubuntu-restricted-extras packe

sudo apt-get install ubuntu-restricted-extras

Solution 3

Make sure you have the Medibuntu repository disabled if you have it.You need to remove the packages that were installed by the metapackage "ubuntu-restricted-extras" using the following command

sudo apt-get remove --purge ffmpeg gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-plugins-ugly liba52-0.7.4 libavcodec52 libavformat52 libavutil49 libdvdnav4 libdvdread4 libgsm1 libid3tag0 libmad0 libmpeg2-4 libpostproc51 libschroedinger-1.0-0 libsidplay1 libswscale0 libtwolame0 ubuntu-restricted-extras libavcodec52 libavformat52 libswscale0 libvlc2 libvlccore2 vlc vlc-data vlc-nox vlc-plugin-pulse

This will remove any codecs installed and any programs that use the codecs. Ex. mplayer, Audacity, xmms, etc. Don't worry, you can install them afterwards.

Note :- The above might remove ubuntu-desktop so you have to install this.

sudo apt-get install ubuntu-desktop

sudo apt-get clean

Now restart your PC and install ubuntu-restricted-extras and your prefered media player

sudo apt-get install ubuntu-restricted-extras

Solution 4

1. Disable medibuntu karmic repo.

2. apt-get --purge remove libx264-67

3. ReInstall the package names saved in the text file using the standard Karmic repos.

Solution 5

One user did the following to fix the problem

$ sudo apt-get remove smplayer
$ sudo apt-get remove mplayer
$ sudo apt-get remove libx264-67 --purge
$ sudo apt-get install libx264-67
$ sudo apt-get install smplayer
$ sudo apt-get install mplayer
$ sudo apt-get install vlc

Full credit goes to ubuntuforum users .I hope this would help some users without searching too much to fix their problem.

Sponsored Link

14 Comments to “Fix for VLC doesn’t play video after ubuntu 9.10 (Karmic) Upgrade”

  1. foomatiker says:

    > The above might remove ubuntu-desktop

    I’m missing the hint this will break the whole system (Oo)!

  2. Bill says:

    What not go to Ubuntu software center and search for “ubuntu-restricted-extras” and install. This should add flash and some common drivers easily without command line.

  3. brian says:

    I didn’t have any problems with VLC after my upgrade to 9.10. I’ve been using VLC for both listening to audio books and watching .mpg and DVD’s
    and its been working fine?

  4. slumbergod says:

    My vlc worked fine after moving to karmic. I recently upgraded to the new 1.0.3 and that is working perfectly too.

  5. xbtorrent says:

    thank you very many for that one! even before upgrading to karmic my vlc player stopped working. wildly (un-)installing probably all of the above mentioned packages gave me no luck. deactivating the medibuntu repository and purging the apt cache did the job.
    the only bugger in karmic remains the slowish boot after upgrading from jaunty (from 25s to 1’30m determined with bootchart).

  6. Stephan Beal says:

    FWIW: i upgraded two machines from Ubuntu 9.04 to 9.10, and VNC worked as before on both machines after the upgrade (some UI differences, but they both played videos as expected).

  7. asn says:

    none of this worked for me. Can’t play some dvds on any of the afore mentioned programs.

  8. Kimme Utsi says:

    What about using an better player, namely SMPlayer?

  9. Ronald says:

    I fixed this by changing VLC’s video output module to OpenGL video output. I suspect that the X11 mode was causing the crashes.

  10. jsaffar says:

    Thanx for all these different solutions,

    since I upgraded to karmic I was having trouble playing almost any video, I followed the last method in your post and it’s working like charm ,,,

    thanx a million

  11. Becky says:

    Solution #3 worked for me. Thanks!

  12. SilvioZG says:

    The procedure and example #5 has worked fine for me!
    THNX!!!

    $ sudo apt-get remove smplayer
    $ sudo apt-get remove mplayer
    $ sudo apt-get remove libx264-67 –purge
    $ sudo apt-get install libx264-67
    $ sudo apt-get install smplayer
    $ sudo apt-get install mplayer
    $ sudo apt-get install vlc

  13. Guille says:

    Thanks!!!, finaly the Solution 3 worked for me. I did a fresh install, but couldn’t play DVD, until I followed your suggestions.

  14. Cordeiro says:

    The 5th solution worked very well, thanks a lot…
    Something I’d really recomend:
    $ sudo apt-get remove smplayer
    $ sudo apt-get remove mplayer
    $ sudo apt-get remove libx264-67 –purge
    $ sudo apt-get install libx264-67
    $ sudo apt-get install smplayer
    $ sudo apt-get install mplayer
    $ sudo apt-get install vlc

Leave a Reply

  • Recent comments