Friday, June 29, 2012

How to temporarily fix a nasty GStreamer bug in Ubuntu

I do not know if you are facing the same problem, but there is a nasty (but not overly serious, no security risk or anything like that) bug in the GStreamer that is affecting Ubuntu 12.04, but also other Linux distributions.

This bug breaks playback for certain videos with certain encodings.

Don't worry, I found a fix that works, for now.

This fix comes from fellow Linux user Flavio. He initially posted the fix here. Copy and paste everything in the terminal as ONE line, do not break up the code for your system type into two different commands.

For 32 bit (x86) systems:
sudo mv /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so /usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideoparsersbad.so.bak

For 64 bit (x86-64) systems:
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

Here is the bug report below Update-iframe is not working, so it is hidden. Click here to see the bug report.