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

Thread: Totem won't play video because of codec error

  1. #1
    Join Date
    Aug 2005
    Location
    Groningen, The Netherland
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    Totem won't play video because of codec error

    Hi everyone,

    After upgrading to Hardy, I encountered this annoying problem.
    I'm using Totem for all my video needs. When I tried opening a .avi file of .mkv, Totem would claim it didn't have the needed codecs.

    However all codecs are properly installed.
    When run in terminal, I get the following message at startup:
    Quote Originally Posted by Totem v2.22.1
    Totem (totem:14915): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/libavcodec.so.1d: undefined symbol: faacDecDecode

    ** (totem:14914): WARNING **: Failed to create dbus proxy for org.gnome.SettingsDaemon: Could not get owner of name 'org.gnome.SettingsDaemon': no such name
    When I try opening a file, I get the following:

    Quote Originally Posted by Totem v2.22.1
    ** Message: don't know how to handle video/x-divx, divxversion=(int)3, framerate=(fraction)2997/125, width=(int)576, height=(int)304
    ** Message: Missing plugin: gstreamer|0.10|totem|DivX MPEG-4 Version 3 decoder|decoder-video/x-divx, divxversion=(int)3 (DivX MPEG-4 Version 3 decoder
    I have medibuntu and all codecs/packages installed. So if anybody has an idea...

    [SOLVED]Cor2y had the idea that fixed everything and this is the solution:
    Quote Originally Posted by Cor2y
    1.Ok lets see is libx264 installed? Seems now theres an X264 error. Which is good we seem to be making progress.

    2.Yup, but I have 3 options in Syn.
    libx264-54
    libx264-57

    libx264-dev

    I can re-install the 57, but I can only completely remove the 54

    3. Completely remove all three. The latest version is libx264-57 is the latest for hardy. libx264-dev is if you plan to compile a multimedia app that requires the use of libx264 an example would be your own version of mplayer or ffmpeg, avidemux etc. So you don't need libx264-dev installed. Then re-install only libx264-57 Do you have sources from the previous version of ubuntu enabled in your repos? libx264-54 was in gutsy.

    4. Solved after removing gstreamer, then completely removing both libx264-54 and libx264-57, then reinstalling libx264-57.
    Last edited by Maupertus; May 1st, 2008 at 09:14 PM. Reason: [SOLVED] Added the solution to the first post for ease of use.
    "All of your base are belong to us!"

  2. #2
    Join Date
    Dec 2005
    Beans
    733
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Totem won't play video because of codec error

    It looks like you are missing some gstreamer plugins.
    Install all the of gstreamer plugins.
    This can be done from Add/Remove or synaptic just search for gstreamer plugin install the ones that have not been installed/checked as installed some you don't currently need like the dirac plugin or the dev and debug versions of the plugins.
    Last edited by cor2y; April 30th, 2008 at 06:02 PM.

  3. #3
    Join Date
    Aug 2005
    Location
    Groningen, The Netherland
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Totem won't play video because of codec error

    Quote Originally Posted by cor2y View Post
    It looks like you are missing some gstreamer plugins.
    Install all the of gstreamer plugins.
    This can be done from Add/Remove or synaptic just search for gstreamer plugin install the ones that have not been installed/checked as installed some you don't currently need like the dirac plugin or the dev and debug versions of the plugins.
    I wish it was that easy, I have un-installed and re-installed all gstreamer plugins to no avail.
    "All of your base are belong to us!"

  4. #4
    Join Date
    Dec 2005
    Beans
    733
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Totem won't play video because of codec error

    Ok here are the needed gstreamer plugins
    gstreamer0.10-ffmpeg (ffmpeg support)
    gstreamer0.10-fluendo-mp3 (mp3 support/playback)
    gstreamer0.10-pitfdll (to use the w32codec pack if installed)
    gstreamer0.10-plugins-bad
    gstreamer0.10-plugins-bad-multiverse
    gstreamer0.10-plugins-base
    gstreamer0.10-plugins-base-apps
    gstreamer0.10-plugins-good
    gstreamer0.10-plugins-ugly
    gstreamer0.10-plugins-ugly-multiverse

    Optional Plugins
    gstreamer0.10-fluendo-mpegdemux
    gstreamer0.10-fluendo-mpegmux

    If you don't see some of these in synaptic you will need to enable the mulitverse, universe, and perhaps restricted repos, then reload
    Last edited by cor2y; April 30th, 2008 at 06:32 PM.

  5. #5
    Join Date
    Apr 2008
    Location
    Germany - Berlin
    Beans
    340

    Re: Totem won't play video because of codec error

    Another option would be to install totem-xine and either uninstall totem-gstreamer or set default to totem-xine in the config.

  6. #6
    Join Date
    Aug 2005
    Location
    Groningen, The Netherland
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Totem won't play video because of codec error

    Quote Originally Posted by cor2y View Post
    Ok here are the needed gstreamer plugins
    gstreamer0.10-ffmpeg (ffmpeg support)
    gstreamer0.10-fluendo-mp3 (mp3 support/playback)
    gstreamer0.10-pitfdll (to use the w32codec pack if installed)
    gstreamer0.10-plugins-bad
    gstreamer0.10-plugins-bad-multiverse
    gstreamer0.10-plugins-base
    gstreamer0.10-plugins-base-apps
    gstreamer0.10-plugins-good
    gstreamer0.10-plugins-ugly
    gstreamer0.10-plugins-ugly-multiverse

    Optional Plugins
    gstreamer0.10-fluendo-mpegdemux
    gstreamer0.10-fluendo-mpegmux

    If you don't see some of these in synaptic you will need to enable the mulitverse, universe, and perhaps restricted repos, then reload
    Thanks Cor2y! What package is needed on Ubuntu 64 instead of gstreamer0.10-pitfdll?

    I've installed all the rest.

    @Gunman: I'm trying to have that as a last resort, but if I get frustrated enough...
    "All of your base are belong to us!"

  7. #7
    Join Date
    Dec 2005
    Beans
    733
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Totem won't play video because of codec error

    Unfortunately i don't think there is a gstreamer0.10-pitfdll for 64bit.
    Although the lack of one should not effect mpeg4 playback

    Heres what you could try is deleting and your .gstreamer-0.10 folder (its a hidden folder) in /home/username and try it again.
    You did upgrade from gutsy so there could be some conflicts there.

  8. #8
    Join Date
    Aug 2005
    Location
    Groningen, The Netherland
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Totem won't play video because of codec error

    Quote Originally Posted by cor2y View Post
    Unfortunately i don't think there is a gstreamer0.10-pitfdll for 64bit.
    Although the lack of one should not effect mpeg4 playback

    Heres what you could try is deleting and your .gstreamer-0.10 folder (its a hidden folder) in /home/username and try it again.
    You did upgrade from gutsy so there could be some conflicts there.
    Tried it and reinstalled, but still the same problem.
    The message I get when I try to play something is:

    Missing plugin: gstreamer|0.10|totem|H.264 decoder|decoder-video/x-h264 (H.264 decoder)

    But the strange thing is that I must have reinstalled ffmpeg 10 times by now.

    Is it possible that Totem (and VLC by the way) are looking in the wrong place?
    "All of your base are belong to us!"

  9. #9
    Join Date
    Dec 2005
    Beans
    733
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Totem won't play video because of codec error

    Ok lets see is libx264 installed? Seems now theres an X264 error. Which is good we seem to be making progress.

  10. #10
    Join Date
    Aug 2005
    Location
    Groningen, The Netherland
    Beans
    194
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Totem won't play video because of codec error

    Yup, but I have 3 options in Syn.
    libx264-54
    libx264-57
    libx264-dev

    I can re-install the 57, but I can only completely remove the 54

    (sorry, I hope I'm not annoying you cor2y...I hope you're helping more people then just me by doing this. )
    "All of your base are belong to us!"

Page 1 of 2 12 LastLast

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
  •