You are not logged in.
Pages: 1
When I try to watch a movie using mplayer I get this... really weird screen, like green and purple, and pink, all scrambled, the sound's fine, but i can't see anything, but this. It happens when playing any movie, with any codecs, and it's the same with xine.
I used to have this problem before, but it was solved by restarting the Xserver, now nothing seems to work. My video card is a trident blade 2d/3d if it has anything to do with it...
does anybody have any ideas?
In Linux there are no secrets!
Offline
Run it from a terminal and have a look at the response. Post it here if you want a second opinion.
Offline
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Playing thewall.mpg.
MPEG-PS file format detected.
VIDEO: MPEG2 480x576 (aspect 2) 25.000 fps 2530.0 kbps (316.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 480 x 576 (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] 480x576 => 768x576 Planar YV12
this is it... so there's a problem with the decoder? what should I do?
In Linux there are no secrets!
Offline
I'm not sure, I'm afraid. For comparison, I've just done the same with an mpeg here, and my output is almost identical, including the VDecoder failed message, but the movie still plays just fine. There is one difference between yours and mine - I don't have this line:
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
but I'm not sure if that's significant, because it seems to fall back to xv on the last line anyway. I'm also using a cvs build of mplayer, on xorg7, so it might not be the best comparison.
Offline
Try running 'mplayer -vo x11 thewall.mpg' or 'mplayer -vo gl thewall.mpg', it might be a problem with the Xvideo extension.
Offline
it works with
mplayer -vo x11
but the movie is too small and when i resize the window, or switch to fullscreen, the movie keeps it's size
tried
mplayer -vo gl
and it doesn't work, but i'm not blaming it because I don't have gl [/code]
In Linux there are no secrets!
Offline
tried
mplayer -vo gl
and it doesn't work, but i'm not blaming it because I don't have gl
pacman -S mesa
That will (hopefully) make it work. Don't worry about hardware acceleration, it ain't important for watching a movie.
Offline
it does work now with mplayer -vo gl, but it's sloooow, the image is very slow, the sound is fine, and if i make it fullscreen it will get bigger, but it gets even slower...
I'm beggining to think that my video card is outdated... but it worked last week
In Linux there are no secrets!
Offline
it does work now with mplayer -vo gl, but it's sloooow, the image is very slow, the sound is fine, and if i make it fullscreen it will get bigger, but it gets even slower...
I'm beggining to think that my video card is outdated... but it worked last week
Well, what video card do you have? I've watched video on an ATI Radeon 7000 and NVIDIA GeForce2 mx, thei're not to new but they work fine...
With slow, do you mean lagging?
Any other output plugin you could try? I haven't tested mplayer after I moved to arch, does it come with a framebuffer plugin? In that case, maye try to switch to the console (not a graphical terminal!) and playing with the framebuffer plugin. Does that work fine? If you're playing a file residing on a CD/DVD, is DMA turned on? (that helped a LOT for me with all media players so far.) Is files other than mpeg playing fine? Is there any other background process using a lot of resources? (check "top")
Offline
In contrary to what was claimed in this thread, resizing a video stream with no hardware acceleration can be very CPU intensive. Older processors tend to choke, when they have to scale the image about 30 times in a second.
You could try
mplayer -vo x11 -zoom
This allows the image to be resized with software scaling. If it is still too slow, add '-sws 4' to the command line (improves speed at the expense of image quality). Another trick is to change into a lower resolution with '-vm'.
It sounds like xv output has been working for you before. What does the output of 'xvinfo' tell?
Offline
In contrary to what was claimed in this thread, resizing a video stream with no hardware acceleration can be very CPU intensive. Older processors tend to choke, when they have to scale the image about 30 times in a second.
Only one thing to say: :oops:
Offline
i tried mplayer -vo x11 -zoom and i could resize the image, but it was very slow.
i then tried mplayer -vo x11 -zoom -sws 4 and it was also too slow
i tried switching to a different resolution like you said with mplayer -vo x11 -zoom -vm, but it's even slower than the last one.
this is the xvinfo output:
X-Video Extension version 2.2
screen #0
Adaptor #0: "Trident Backend Scaler"
number of ports: 1
port base: 53
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
number of attributes: 5
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_SATURATION" (range 0 to 187)
client settable attribute
client gettable attribute (current value is 80)
"XV_BRIGHTNESS" (range 0 to 63)
client settable attribute
client gettable attribute (current value is 45)
"XV_HUE" (range 0 to 360)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 7)
client settable attribute
client gettable attribute (current value is 4)
maximum XvImage size: 1024 x 1024
Number of image formats: 3
id: 0x36315652 (RV16)
guid: 52563136-0000-0000-0000-000000000000
bits per pixel: 16
number of planes: 1
type: RGB (packed)
depth: 16
red, green, blue masks: 0xf800, 0x7e0, 0x1f
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
and yes, it worked with xv before, it worked perfectly
got any other ideas?
thank you
In Linux there are no secrets!
Offline
dont use -vo gl.
does -vo xv work?
iphitus
Offline
@iphitus
xv doesn't work, that's what i'm here for
In Linux there are no secrets!
Offline
ok, I switched to the testing repo today, with all the modular xorg 7 and all, and now it's back to normal, meaning it works perfectly...
i guess it will remain a mistery why it wasn't working
thanks to everyone anyway!
In Linux there are no secrets!
Offline
ok, I switched to the testing repo today, with all the modular xorg 7 and all, and now it's back to normal, meaning it works perfectly...
i guess it will remain a mistery why it wasn't working
thanks to everyone anyway!
how? xorg7 just got moved into current!
btw, i'm also getting this problem. after solving all the other problems xorg7 brought, i'm still getting crap for video. xv doesn't work. only xshm works, and like the original poster, doesn't resize, and takes up 100% cpu. also, i'm running radeon 8500, and the ati drivers with stock kernel, and got fglrx loading properly (would be usin ck, but for some odd reason ndiswrapper craps out on there)
anyways...is there somethin special i can do, perhaps in xorg.conf to enable some hardware acceleration?
edit: read the ati sticky and fixed the problem. /usr/X11R6/ needed a symlink to the new xorg modules location.
edit2: ok...using the opengl module works...xshm works as well, and i can go full screen now. it still seems unusually processor intensive....100% at full screen, which i find a bit odd.
edit3: used the sample xorg.conf in the wiki and xv now works and fully accelerated. had to change the PCI from 2 to 1 from the sample config.
Offline
Pages: 1