You are not logged in.

#1 2006-02-15 11:42:43

Oin
Member
Registered: 2005-09-02
Posts: 63

i can't see movies after upgrade...

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

#2 2006-02-15 12:37:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: i can't see movies after upgrade...

Run it from a terminal and have a look at the response. Post it here if you want a second opinion.

Offline

#3 2006-02-15 12:47:43

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: i can't see movies after upgrade...

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

#4 2006-02-15 14:19:45

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: i can't see movies after upgrade...

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

#5 2006-02-15 21:09:05

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: i can't see movies after upgrade...

Try running 'mplayer -vo x11 thewall.mpg' or 'mplayer -vo gl thewall.mpg', it might be a problem with the Xvideo extension.

Offline

#6 2006-02-16 10:12:28

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: i can't see movies after upgrade...

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

#7 2006-02-16 14:00:55

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: i can't see movies after upgrade...

Oin wrote:

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

#8 2006-02-16 19:00:47

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: i can't see movies after upgrade...

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

#9 2006-02-16 19:56:43

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: i can't see movies after upgrade...

Oin wrote:

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

#10 2006-02-16 21:30:29

sh__
Member
Registered: 2005-07-19
Posts: 272

Re: i can't see movies after upgrade...

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

#11 2006-02-16 21:54:25

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: i can't see movies after upgrade...

sh__ wrote:

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

#12 2006-02-17 12:01:24

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: i can't see movies after upgrade...

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

#13 2006-02-17 12:19:08

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: i can't see movies after upgrade...

dont use -vo gl.

does -vo xv work?

iphitus

Offline

#14 2006-02-17 14:31:57

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: i can't see movies after upgrade...

@iphitus
xv doesn't work, that's what i'm here for smile


In Linux there are no secrets!

Offline

#15 2006-02-17 20:11:07

Oin
Member
Registered: 2005-09-02
Posts: 63

Re: i can't see movies after upgrade...

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 smile

thanks to everyone anyway!


In Linux there are no secrets!

Offline

#16 2006-02-22 00:16:03

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

Re: i can't see movies after upgrade...

Oin wrote:

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 smile

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

Board footer

Powered by FluxBB