I just can not watch ogg video using mplayer. I am using 64bit system and I installed mplayer using 1-click codec install. If I try to play the video from terminal, I got the following errors:
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
X11 error: BadAlloc (insufficient resources for operation)0.5% 0 0
If I play video using gui, mplayer just slashed away. I did not enable compiz in the system except enabling the “Active 3D Acceleration” in yast.
As I tested, I found this only happens after I enable system transparency. I also want to know the situation of mplayer in KDE4 if enabled the desktop effect. So anyone has a solution or suggestion, pls help.
I checked my system. The packages you mentioned are already in my system. However I still need to enable x11 driver for mplayer to play video without window resizing. Alternatively I use kaffeine with xsham video driver to play videos under my setup. It can play most of the file except wmv.
I play wmv all the time with xine, … and kaffeine uses the xine engine.
That leads me to ask some questions. Do you have the packman packaged xine? Packman w32codec-all? xvid? kaffeine? To confirm, simply type: rpm -qa | grep xine
rpm -qa | grep xvid
rpm -q w32codec-all
rpm -q kaffeine
A packman packaged rpm will have a “pm” in the package name … ie…
kaffeine-0.8.6-0.pm.1
Also, you need flac and theora for ogg. Please confirm you have them installed. To check: rpm -q ffmpeg2theora
rpm -q libtheora0
rpm -q flac
rpm -q libogg
suser:~ # rpm -q flacrpm -q libogg
package flacrpm is not installed
package libogg is not installed
suser:~ # rpm -qa | grep libogg
libogg0-1.1.3-87
I used the 1-click codec install to install codecs. I can not find the packages that not installed in above output using zypper. I also want to ask do I have to use all packman package, such as kaffeine?
The correct synax for checking for flac is: rpm -q flac
I recommend the Packman packages if one has a choice. The reason being Novell/SuSE-GmbH are trying hard to not run afoul of potential law suits for use of proprietary codecs. So they have compiled the various players without the codecs being present on their “build service” (or what ever its called). IMHO that means it is possible these applications will not play a piece of audio/video that is encoded with proprietary codecs, even IF one has the codec’s on one’s PC. Hence IMHO its best to grab the Packman packaged versions that were compiled with no such restrictions. …
Also, one click install is great for newbies, but I still believe that once one is more familiar with openSUSE, one has “more control” by adding the appropriate repositories to one’s openSUSE software package manager, and installing using the package manager. There is guidance on how to do that here: Repositories - openSUSE-Community
flac is by default installed on system. I updated kaffeine to packman version, however the situation does not seem to change. I still need to change video driver to xshm to play ogg and other video format.
So far I can use kaffeine (using xshm video driver) to playback most of the video format with full screen and mplayer (video driver:x11) for wmv with screen resizing.
It reads to me that this could be a 3D problem, associated with the specifics of your graphic driver. My apologies, but if that is the case, then it is not an area in which I can help. I don’t use 3D. I never have attempted to configure 3D on my PC. Hence I have no config files or such on my system from any 3D install efforts. Plus I use a nominal nvidia graphic card, with which there are no issues. I have no idea as to whether that may have a bearing.