Multimedia Broke
Posted: 2009/04/03 01:13:46
Currently I do not know if this is a bug or I have a misconfigured system or missing some other packages.
After upgrading my desktop to 5.3, this includes removing gstreamer-plugins-bad that is provided by rpmforge because of conflicts with the official gstreamer-plugins-good, some media formats are no longer supported. I do not know whether the problem is on the official gstreamer-plugins-good(unsupported formats) or in the packages which came from rpmforge(does not play well with the official gstreamer-plugins-good package).
I have configured the official repos as stated in the wiki and configured rpmforge to have a priority of 11. I also used the instructions on the wiki for multimedia.
I tried excluding the gstreamer-plugins-good but some apps, totem and gnome-applets, depend on gstreamer-plugins-good. I continued with the removal. Excluded gstreamer-plugins-good from the base and updates repo. Installed gstreamer-plugins-bad from rpmforge. Restarted my system. After logging in, errors popped up indicating some applets cannot run or missing. I tried playing some 3gp, mpg, and ogg formats. After double clicking on them they still don't play. Because of this, I uninstalled the gstreamer-plugins-bad, removed gstreamer-plugins-good from exclude list. Installed gstreamer-plugins-good, totem, and gnome-applets, and then rebooted. No errors popped up and ended up to square one.
What is strange is ogg videos can't even be played, although thumbnails are visible. I grabbed the file from http://www.elphel.com/3fhlo/samples/333_samples/
$ file m021_300_1_70.ogg
m021_300_1_70.ogg: Ogg data, Theora video
$ mplayer m021_300_1_70.ogg
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing m021_300_1_70.ogg.
[Ogg] stream 0: video (Theora v3.2.0), -vid 0
Ogg file format detected.
VIDEO: [theo] 1280x1024 24bpp 29.490 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[theora @ 0xd1ef10]Missing extradata!
Could not open codec.
VDecoder init failed :(
Opening video decoder: [theora] Theora/VP3
VDec: vo config request - 1280 x 1024 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x1024 => 1280x1024 Planar YV12
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3))
==========================================================================
Audio: no sound
Starting playback...
aspect: Warning: no suitable new res found!
X11 error: BadAlloc (insufficient resources for operation)
MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
$ totem m021_300_1_70.ogg
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 46 error_code 11 request_code 140 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Any advice on what should I do next? Can anyone verify this?
Thanks!
After upgrading my desktop to 5.3, this includes removing gstreamer-plugins-bad that is provided by rpmforge because of conflicts with the official gstreamer-plugins-good, some media formats are no longer supported. I do not know whether the problem is on the official gstreamer-plugins-good(unsupported formats) or in the packages which came from rpmforge(does not play well with the official gstreamer-plugins-good package).
I have configured the official repos as stated in the wiki and configured rpmforge to have a priority of 11. I also used the instructions on the wiki for multimedia.
I tried excluding the gstreamer-plugins-good but some apps, totem and gnome-applets, depend on gstreamer-plugins-good. I continued with the removal. Excluded gstreamer-plugins-good from the base and updates repo. Installed gstreamer-plugins-bad from rpmforge. Restarted my system. After logging in, errors popped up indicating some applets cannot run or missing. I tried playing some 3gp, mpg, and ogg formats. After double clicking on them they still don't play. Because of this, I uninstalled the gstreamer-plugins-bad, removed gstreamer-plugins-good from exclude list. Installed gstreamer-plugins-good, totem, and gnome-applets, and then rebooted. No errors popped up and ended up to square one.
What is strange is ogg videos can't even be played, although thumbnails are visible. I grabbed the file from http://www.elphel.com/3fhlo/samples/333_samples/
$ file m021_300_1_70.ogg
m021_300_1_70.ogg: Ogg data, Theora video
$ mplayer m021_300_1_70.ogg
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing m021_300_1_70.ogg.
[Ogg] stream 0: video (Theora v3.2.0), -vid 0
Ogg file format detected.
VIDEO: [theo] 1280x1024 24bpp 29.490 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[theora @ 0xd1ef10]Missing extradata!
Could not open codec.
VDecoder init failed :(
Opening video decoder: [theora] Theora/VP3
VDec: vo config request - 1280 x 1024 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x1024 => 1280x1024 Planar YV12
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
Selected video codec: [theora] vfm: theora (Theora (free, reworked VP3))
==========================================================================
Audio: no sound
Starting playback...
aspect: Warning: no suitable new res found!
X11 error: BadAlloc (insufficient resources for operation)
MPlayer interrupted by signal 6 in module: vo_check_events
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
$ totem m021_300_1_70.ogg
The program 'totem' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 46 error_code 11 request_code 140 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Any advice on what should I do next? Can anyone verify this?
Thanks!