[SOLVED] Media Playing issues in Ubuntu 10.10 Maverick Meerkat

I am using Ubuntu 10.10 Maverick Meerkat 64bit Alpha 1 and I have been facing problem playing AVI and FLV files. I used to get the the following error “No suitable decoder module: VLC does not support the audio or video format “XVID”. VLC Unfortunately there is no way for you to fix this.”
in VLC when I tried to play some AVI files. Also, in terminal, it said:
“main decoder error: no suitable decoder module for fourcc `XVID’.
VLC probably does not support this sound or video format.”
Also, FLV files failed to play without any error. Totem said:
“No packages with requested plugins found. The requested plugins are: XVID MPEG-4 decoder/H.264 decoder”.

The problem was with libavcodec and libavutil. It can be fixed by removing all of libavutilxx (libavutil50, libavutil49, libavutil-extra-49, libavutil-extra-50) and reinstalling only what is required. This may also remove other packages (vlc for example, if you have it installed that is), so watch out but don’t install them immediately. Exit Synaptic. Now, if you want to fix totem, just open media with it. It should ask you for codecs, install them. Totem should start working. Install vlc later.

Hope this helps.

  • Didn’t solve my problem. Still having it. Showing ‘H264’ error in some and ‘XVID’ error in others.

  • admin

    ^try this.. remove libavutilxx.. that should also mark gstreamer and vlc.. don’t install anything now.. Then use Totem to play any of such files and it should install required packages… Totem should play now..
    if that does not work, try deleting registry* files from ~/.gstreamer-0.10 and try again

  • I had to remove libavutil-extra-49 and libavutil-extra-50, then reinstall vlc. This fixed _only vlc, not Movie Player/Totem.

    • admin

      Hi chvnx,
      Remove all of libavutil* and then do not install vlc then.. Close Synaptic and open Totem with some media.. then it will ask you to install codecs. install them and totem should be fixed.. then after that, install vlc and it should work.

  • rws

    simply removing directory ~/.gstreamer-0.10 did the trick for me
    🙂 thx