[Openchrome-users] patching mplayer with xvmc patch
Hans de Bruin
bruinjm
Sun Jul 29 01:55:50 PDT 2007
Timothy Lee wrote:
> Hans de Bruin wrote:
>> Timothy
>>
>> I tried your patch and en up with an error:
>>
>> bash-3.1$ mplayer -vo xvmc,xv -vc ffmpeg12mc, /video/csi-do.mpg
>> MPlayer dev-SVN-r23830-4.1.2 (C) 2000-2007 MPlayer Team
>> CPU: VIA Esther processor 1200MHz (Family: 6, Model: 10, Stepping: 9)
>> CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
>> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>>
>> Playing /video/csi-do.mpg.
>> MPEG-PS file format detected.
>> VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0
>> kbyte/s)
>> vo_xvmc: X-Video extension 2.2
>> vo_xvmc: No X-Video MotionCompensation Extension on :0.0
>>
> Hans, the log message appears to suggest that the XvMC extension is not
> detected by mplayer at all. Perhaps you can look at your X11 log file
> and check that the XvMC extension has been registered by your video driver?
>
It wasn't so I fixed the Xorg.conf file. Now all kind of weird stuff is
happening. The kde's screen saver example in the small window, is offset
to the left and bottom of the screen for all of the openGL screen
savers. They run in full screen test mode, but not for long.
Flightgears window is split in two. The left part is on the left of the
screen, the right part is on the right side, leaving a gap in the middle
of the screen. When I switch from 1280x1024 to 1024x768 both side are
connected, but the top and bottom of the window is missing.
mplayer never shows any screen, and ends with an unexpected error
Playing /video/csi-do.mpg.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.1
==========================================================================
Forced video codec: ffmpeg12mc
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] XVMC accelerated codec.
Selected video codec: [ffmpeg12mc] vfm: ffmpeg (FFmpeg MPEG-1/2 (XvMC))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
director
y
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 720 x 576 (preferred colorspace: MPEG1/2
Motion Compen
sation and IDCT)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Trying pixfmt=1.
VDec: vo config request - 720 x 576 (preferred colorspace: MPEG1/2
Motion Compen
sation)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDec: vo config request - 720 x 576 (preferred colorspace: MPEG1/2
Motion Compen
sation and IDCT)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[VD_FFMPEG] Unexpected init_vo error.
Without XvMC mplayer runs fine, as long as I don't minimize and and
unminimize the screeen. The last action kill's Xorg. Now this feature
was present before I activated DRI in Xorg, so this looks like the
openchrome drivers fault.
I guess I have to subscribe to dri-devel at list.sourceforge.net for the
weird stuff.
To make things complete, when I recompile the openchrome driver this
pops up:
In file included from via_drmclient.h:27,
from via_drm.h:35,
from via_priv.h:5,
from via_driver.h:64,
from via_accel.c:45:
/usr/local/include/drm/drm.h:673: error: expected
specifier-qualifier-list before 'uint64_t'
/usr/local/include/drm/drm.h:788: error: expected
specifier-qualifier-list before 'uint64_t'
/usr/local/include/drm/drm.h:797: error: expected
specifier-qualifier-list before 'uint64_t'
/usr/local/include/drm/drm.h:823: error: expected
specifier-qualifier-list before 'uint64_t'
/usr/local/include/drm/drm.h:872: error: expected
specifier-qualifier-list before 'uint64_t'
/usr/local/include/drm/drm.h:901: error: expected
specifier-qualifier-list before 'uint64_t'
via_accel.c: In function 'viaAccelTextureBlit':
via_accel.c:2641: warning: passing argument 2 of 'viaOrder' from
incompatible pointer type
via_accel.c:2642: warning: passing argument 2 of 'viaOrder' from
incompatible pointer type
make[2]: *** [via_accel.lo] Error 1
make[2]: Leaving directory `/vol1/unichrome/openchrome/unichrome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vol1/unichrome/openchrome'
make: *** [all] Error 2
bash-3.1$
--
Hans
More information about the Openchrome-users
mailing list