Totem not playing certain videos in 12.04

The videos that work properly in 10.04 are not working in 12.04.

haris@psycho:~/music$ file Captain\ Tsubasa\ 2\ NES\ -\ 21\ -\ Coimbra_s\ Theme.mp4 
Captain Tsubasa 2 NES - 21 - Coimbra_s Theme.mp4: ISO Media, MPEG v4 system, version 2

haris@psycho:~/music$ file Captain\ Tsubasa\ 2\ Nes\ Music\ -\ 01\ Opening.mp4 
Captain Tsubasa 2 Nes Music - 01 Opening.mp4: ISO Media, MPEG v4 system, version 2

haris@psycho:~/music$ file Batman\ \(NES\)\ Music\ -\ Continue\ Theme.mp4 
Batman (NES) Music - Continue Theme.mp4: ISO Media, MPEG v4 system, version 2

haris@psycho:~/music$ file Starship\ -\ Nothing_s\ Gonna\ Stop\ us\ Now\ \(Mannequin\)\ LYRICS.mp4 
Starship - Nothing_s Gonna Stop us Now (Mannequin) LYRICS.mp4: ISO Media, MPEG v4 system, version 2

The third and fourth videos are not even being played by Totem while for the second one, I can hear the audio but can't see the video. The first one plays well enough. Once again, all these videos work without any problems in 10.04.

Should I report this as a bug or can it be rectified?


Solution 1:

For 12.04

Until the bug is fixed & atm there is no movement towards doing so we've tracked this down to a plugin in gstreamer0.10-plugins-bad, specifically libgstvideoparsersbad.so

So if desired you can move that plugin to a .bak & it should clear up decoding issues caused by this bug

For 64 bit install

sudo mv /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so /usr/lib/x86_64-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so.bak

For 32 bit install

sudo mv /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so.bak

What, if any, loss of function is unclear here, I've seen none Yet, obviously the hope is this bug will be addressed in 12.04, current report - https://bugs.launchpad.net/ubuntu/+source/gstreamer0.10/+bug/973014

The best self fix until bug is resolved is to patch & rebuild the bad plugins source. A quick howto here - http://ubuntuforums.org/showpost.php?p=12118375&postcount=6

Solution 2:

you might not be having the codecs in 12.04 which you ahd in 10.04 so first you should try installing the right codec and see
try rhis to install all codecs sudo aptitude install ubuntu-restricted-extras

Solution 3:

I have a solution that you can try.

Install only these:

gstreamer0.10-ffmpeg
gstreamer0.10-plugins-ugly

And uninstall gstreamer0.10-plugins-bad.