Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: shuiend on 18 December 2002, 15:32

Title: More Mplayer Problems
Post by: shuiend on 18 December 2002, 15:32
My Mplayer now does not work. When i open a file with it it just closes right away. I did gmplayer from the console and these are the error messages that i get.

Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed  :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x240 => 352x264 Planar YV12
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
[ws] Error in display.
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 141
[ws]  Minor code: 19
[ws]  Modules: vo_check_events

I am not sure what these mean. I have unistalled it and reinstalled it through apt-get so i know that will not help me.
Title: More Mplayer Problems
Post by: choasforages on 18 December 2002, 16:01
try a different video out device, like SDL

gmplayer -vo sdl
Title: More Mplayer Problems
Post by: voidmain on 18 December 2002, 19:34
Yes, in your preferences set your video out to something else (x11 always works for me). The default video out on every install I've done is "xv"  which doesn't work on any system I've installed it on.
Title: More Mplayer Problems
Post by: shuiend on 19 December 2002, 02:01
ok i tried the gmplayer -vo sdl and i think i am getting the same error.
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed  :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [sdl] 352x240 => 352x264 Planar YV12
SDL: Using driver: x11
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
[ws] Error in display. -0.015 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
[ws]  Error code: 11 ( BadAlloc (insufficient resources for operation) )
[ws]  Request code: 141
[ws]  Minor code: 19
[ws]  Modules: flip_page

thats is what i am getting now that is slightly diffrent. The last thing i installed was transcode which is used by K3B. I think that might have something to do with it but i installed it from a tar.gz so i am not sure howto go and delete all the things. Much less what things to delete.
Title: More Mplayer Problems
Post by: voidmain on 19 December 2002, 02:29
quote:
Originally posted by wild_jester / BOB:
ok i tried the gmplayer -vo sdl and i think i am getting the same error.


Did you try "x11" as I mentioned? That should definitely work. You can also specify it on the command line like you did with "sdl", replace "sdl" with "x11" and see if it works. If it does, go into the gmplayer preferences and change it permanently.
Title: More Mplayer Problems
Post by: shuiend on 19 December 2002, 06:00
thanks void main that worked. I went into prefrences and changed it to x11 but now sound does not work. i get the follwoing error
couldn't open/init audio device -> no sound
i did not change any sound options that i know of. I also have nothing else using sound at ths point in time

[ December 18, 2002: Message edited by: wild_jester / BOB ]

Title: More Mplayer Problems
Post by: voidmain on 19 December 2002, 06:04
Just right click on the running gmplayer which will bring up the main menu.

[ December 18, 2002: Message edited by: void main ]

Title: More Mplayer Problems
Post by: voidmain on 19 December 2002, 06:14
quote:
Originally posted by wild_jester / BOB:
thanks void main that worked. I went into prefrences and changed it to x11 but now sound does not work. i get the follwoing error
couldn't open/init audio device -> no sound
i did not change any sound options that i know of. I also have nothing else using sound at ths point in time

[ December 18, 2002: Message edited by: wild_jester / BOB ]



Then go into in to Audio tab on the same menu and try different sound modules until you find the one your system uses (don't know what OS or desktop environment you are running but it's probably either oss, alsa, or arts).
Title: More Mplayer Problems
Post by: shuiend on 19 December 2002, 15:34
I went in and did that and the only ones that work were OSS and Arts. The problem is that both are choppy and the error message comes up saying it is to slow to play this. I am using Red Hat 8. How do i go about finding out what drivers i have installed for my sound card b/c i let the RH installer do it.
Title: More Mplayer Problems
Post by: voidmain on 19 December 2002, 23:11
You must have a slow processor. What is your processor do you have, what is it's speed, how much RAM, and what kind of sound hardware?
Title: More Mplayer Problems
Post by: shuiend on 20 December 2002, 00:19
I am running a duron 800 mhz, 320 megs of ram. I know it is not that b/c mplayer did work about a week ago or so. Other program like xine can play them just fine and all. So i am not sure. Xine has sound using oss but it is set to auto detect while i have to pick which dsp to use in mplayer.
Title: More Mplayer Problems
Post by: shuiend on 20 December 2002, 05:50
Thanks for the help void main but i just did a fresh install of RH 8 again and now it works fine. That along with some other things is what prompted me to reinstall and also the 100% ridding myself of winshit on my computer.
Title: More Mplayer Problems
Post by: voidmain on 20 December 2002, 07:24
Hmmm, well it would be nice to know what was causing the problem. The only thing I can think of is you had some sort of process hung up eating up all the CPU. If it does it again run the "top" command and see if anything is hogging all your resources. Glad you got it working.
Title: More Mplayer Problems
Post by: pkd_lives on 20 December 2002, 07:38
Apparently DMA is off by default in some install types of RH8.0. This can cause choppy playback when reading from a CDROM. Maybe this combined with a slow processor is part of the issue.

The Ogle site has a little bit about this.

ogle faq (http://www.dtek.chalmers.se/groups/dvd/faq.shtml)

see no 31.

[ December 19, 2002: Message edited by: Linux Frank ]