totem won't recognize gstreamer codecs

Bug #219621 reported by Antonio Cono
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs
Nominated for Hardy by gururise
Nominated for Intrepid by gururise

Bug Description

Binary package hint: totem

totem seeks for already installed codecs when I play video files (it only plays ogg files now) without finding them.
As a result it won't play any other video file (eg avi encoded with xvid). No problem at all with audio files (in any format).
All gstreamer codecs (even the bad ones) are already installed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you give details on the video you are trying to read and the error you get? Do you have anything in .xsession-errors about the issue?

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Antonio Cono (tblu) wrote : Re: [Bug 219621] Re: totem won't recognize gstreamer codecs
  • unnamed Edit (189 bytes, application/pgp-signature; name=signature.asc)

That's what I found in .xsession-errors:

(totem:17550): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/libavcodec.so.1d:
undefined symbol: faacDecDecode
** Message: don't know how to handle video/x-xvid,
framerate=(fraction)25/1, width=(int)720, height=(int)544
** Message: Missing plugin: gstreamer|0.10|totem|Decoder XVID MPEG-4|
decoder-video/x-xvid (Decoder XVID MPEG-4)

(gnome-codec-install:17566): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/libavcodec.so.1d:
undefined symbol: faacDecDecode

** (gnome-codec-install:17561): WARNING **: return value of custom
widget handler was not a GtkWidget
Installazione codec aggiuntivo rifiutata

I have installed all gstreamer plugins I found in synaptic (even the
ugly).
If i uninstall the plug-ins, it searches them, it installs them new and
the cannot find them again.
Mplayer only play anything. The audio files (all sort) and ogg files
(audio or video) play well with any player.
I had no problem before upgrading from 7.10 to 8.04.
Let me know if I can give you further information.

Thanks for your time!

Il giorno lun, 21/04/2008 alle 12.00 +0000, Sebastien Bacher ha scritto:
> Thank you for your bug report. Could you give details on the video you
> are trying to read and the error you get? Do you have anything in
> .xsession-errors about the issue?
>
> ** Changed in: totem (Ubuntu)
> Importance: Undecided => Low
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
> Status: New => Incomplete
>

Revision history for this message
gururise (gururise) wrote :

I have the same exact problem when trying to play an avi video with Totem-gstreamer:

(totem-gstreamer:10336): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': /usr/lib/libavcodec.so.1d: undefined symbol: faacDecDecode
** Message: Plugin registry updated, trying again.
** Message: don't know how to handle video/x-xvid, framerate=(fraction)24000/1001, width=(int)720, height=(int)304

(totem-gstreamer:10278): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed

(totem-gstreamer:10278): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed
** Message: Missing plugin: gstreamer|0.10|totem-gstreamer|XVID MPEG-4 decoder|decoder-video/x-xvid (ignoring)
** Message: All missing plugins are blacklisted, doing nothing

This happens on a 64 bit system, with the gst-ffmpeg plugins installed.

Revision history for this message
gururise (gururise) wrote :

Confirmed in Ubuntu Hardy 8.04 (64-bit)
Totem-Gstreamer is unable to play any xvid videos.

Changed in totem:
status: Incomplete → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run those commands and copy the log to the bug?

- ldd /usr/lib/gstreamer-0.10/libgstffmpeg.so
- dpkg -l gstreamer0.10-ffmpeg
- dpkg -l libavcodec1d

Changed in totem:
status: Confirmed → Incomplete
Revision history for this message
IanW (launchpad-washuu) wrote :
Download full text (4.0 KiB)

I'm getting this too. Using Hardy 64 fully updated.

Totem won't play avi/xvid/mkv/wmv/mov/rmvb, but will play mpgs.

Totem packages installed:-
totem
totem-common
totem-gstreamer
totem-mozilla
totem-plugins
totem-plugins-extra
totem-xine
libtotem-plparser10

Gstreamer packages installed:-
gstreamer0.10-alsa
gstreamer0.10-esd
gstreamer0.10-ffmpeg
gstreamer0.10-fluendo-mp3
gstreamer0.10-fluendo-mpegdemux
gstreamer0.10-fluendo-mpegmux
gstreamer0.10-gnomevfs
gstreamer0.10-gnonlin
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
gstreamer0.10-pulseaudio
gstreamer0.10-tools
gstreamer0.10-x

Pasting commands requested by Sebastien:-

 ldd /usr/lib/gstreamer-0.10/libgstffmpeg.so
 linux-vdso.so.1 => (0x00007fffa57fe000)
 libavformat.so.1d => /usr/lib/libavformat.so.1d (0x00007fb19d2c9000)
 libavcodec.so.1d => /usr/lib/libavcodec.so.1d (0x00007fb19cbe7000)
 libavutil.so.1d => /usr/lib/libavutil.so.1d (0x00007fb19c9dd000)
 libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x00007fb19c7b3000)
 libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0x00007fb19c4fb000)
 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fb19c2b5000)
 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fb19bff5000)
 libpthread.so.0 => /lib/libpthread.so.0 (0x00007fb19bdd9000)
 libc.so.6 => /lib/libc.so.6 (0x00007fb19ba76000)
 libm.so.6 => /lib/libm.so.6 (0x00007fb19b7f5000)
 libz.so.1 => /usr/lib/libz.so.1 (0x00007fb19b5de000)
 libogg.so.0 => /usr/lib/libogg.so.0 (0x00007fb19b3d8000)
 libdl.so.2 => /lib/libdl.so.2 (0x00007fb19b1d4000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fb19aed1000)
 libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fb19acbf000)
 liba52-0.7.4.so => /usr/lib/liba52-0.7.4.so (0x00007fb19aab4000)
 libamrnb.so.3 => /usr/lib/libamrnb.so.3 (0x00007fb19a877000)
 libamrwb.so.3 => /usr/lib/libamrwb.so.3 (0x00007fb19a647000)
 libgsm.so.1 => /usr/lib/libgsm.so.1 (0x00007fb19a43a000)
 libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0x00007fb19a1a2000)
 libtheora.so.0 => /usr/lib/libtheora.so.0 (0x00007fb199f5d000)
 libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fb199d31000)
 libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007fb199959000)
 libx264.so.54 => /usr/lib/libx264.so.54 (0x00007fb1996d0000)
 libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0x00007fb1993df000)
 libfaac.so.0 => /usr/lib/libfaac.so.0 (0x00007fb1991ce000)
 libfaad.so.0 => /usr/lib/libfaad.so.0 (0x00007fb198f8d000)
 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fb198d89000)
 libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fb198b85000)
 libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007fb19883e000)
 librt.so.1 => /lib/librt.so.1 (0x00007fb198635000)
 libselinux.so.1 => /lib/libselinux.so.1 (0x00007fb198419000)
 libpcre.so.3 => /usr/lib/libpcre.so.3 (0x00007fb1981f2000)
 /lib64/ld-linux-x86-64.so.2 (0x00007fb19d7a6000)
 libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007fb197ff1000)
 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fb197dd6000)
 libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f...

Read more...

Revision history for this message
IanW (launchpad-washuu) wrote :

I just found a thread on the Ubuntu forum which sheds some light on the problem:-
http://ubuntuforums.org/showthread.php?t=775943

It seems I had 2 versions of x264 on my system x264-57 installed by Hardy, and x264-54 left over from Gutsy.

The fix was to uninstall both (plus x264-dev if you have it) and re-install x264-57, together with anything that was depending on x264-54 and
was auto-removed by synaptic/aptitude.

I managed this as follows:-
1: Search Synaptic for x264 and select x264-57 for re-installation. x264-54 & x264-dev should be selected for complete removal.
2: Synaptic mayl complain that a whole bunch of apps depend on x264-54, so export the list of changes from Synaptic to a txt file.
3: Apply the changes in Synaptic.
4: Open the text file in Gedit, change every instance of "deinstall" for "install" and remove x264-54's line entirely.
5: Import the altered file into Synaptic and Apply the changes.

Having done this, I can now view all except wmv & rmvb. I suspect I need a visit to medibuntu to fix these.

Revision history for this message
IanW (launchpad-washuu) wrote :

I've just discovered that the procedure I detailed previously also fixes the problem of Nautilus failing to thumbnail videos correctly.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

do you stil get the issue? can you test with Intrepid? thanks.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!.

Changed in totem:
status: Incomplete → Invalid
Revision history for this message
krsnendu (krsnendu108) wrote :

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

I was having a similar problem with intrepid.
Totem, and vlc both refused to play xvid and flv files, despite having gstreamer-ffmpeg installed.

Reason:
gstreamer0.10-ffmpeg kept looking for libx264-57 (hardy version) instead of libx264-59 (the installed intrepid)

Running totem from the command line gave:
Code:

(totem:17363): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstffmpeg.so': libx264.so.57: cannot open shared object file: No such file or directory

Despite completely uninstalling gstreamer and all unstripped libs, then reinstalling this error remained.

This command showed what was happening:
Code:

ldd /usr/lib/gstreamer-0.10/libgstffmpeg.so
...
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007fc959fad000)
libx264.so.57 => not found

As work around it made a symlink to the installed file and everything started working.

sudo ln -s libx264.so.59 libx264.so.57

This is not a proper solution, but it might help someone in a similar situation to myself.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.