[MPlayer-users] Savage XvMC acceleration
Sérgio Monteiro Basto
sergiomb at netcabo.pt
Sat Apr 10 01:51:15 CEST 2004
Hi
Just sharing my experience,a fter apply the via2.diff.gz patch for
Savage XvMC and
copy /usr/X11R6/include/X11/Xlibint.h to xc/xc/include/extensions
( I forget mention that before )
and correct makefile for new path of drm.
I try mplayer -vo xvmc:queue -vc ffmpeg12mc dvd://
and mplayer -vo xvmc -vc ffmpeg12mc dvd://
the logs differences:
-#mplayer -vo xvmc:queue -vc ffmpeg12mc dvd://
+#mplayer -vo xvmc -vc ffmpeg12mc dvd://
-vo_xvmc: Allocated Direct Context
+vo_xvmc: Allocated Indirect Context!
the most significant line in logs:
Unable to create XvMCSurface
so just a black window !
thanks
On Fri, 2004-04-09 at 20:50, Alex Deucher wrote:
> --- Srgio Monteiro Basto <sergiomb at netcabo.pt> wrote:
> > Hi Felix
> > Can I ask, what you commit in this issue ?
> > I have the same problem trying compiling XvMC/hw/savage
> >
> > I am trying follow this hint :
> >
> > "Sorry MPlayer atm support XvMC acceleration only with FFmpeg
> > mpegvideo,
> > so you need to use this command line
> > mplayer -vo xvmc -vc ffmpeg12mc file.mpg
> > if this works, then you may try
> > mplayer -vo xvmc:queue -vc ffmpeg12mc file.mpg
> >
> > The problem comes from the fact that video output driver
> > is preinit-ed before the rest of the video system, and
> > on preinit only test if XvMC acceleration is available.
> > The decoder (and stream) is done later.
> >
> > Possible workaround, to make XvMC support Xv."
> >
>
> Sergio,
>
> it sounds to me like Mplayer only supports XvMC with certain video
> container types (ie., mpegs supported by the ffmpeg plugin). the XvMC
> engine is only designed to work with certain formats, and the video you
> are trying to play seems like it may use another format. I'm not sure
> I understand your workaround. Xv and XvMC are two different extensions
> and they handle two different things. Xv handles scaling and
> colorspace conversion. XvMC handles motion compensation and iDCT.
> Normally software decodes the video stream and then passes the decoded
> YUV or RGB image to Xv for scaling and conversion to RGB for display.
> XvMC comes in in the decoding step. it helps do some of the decoding
> for some formats in HW, freeing up the CPU for other tasks. the
> resulting decoded images can then be passed to Xv for display.
>
> Alex
--
Sérgio M. B.
-------------- next part --------------
#mplayer -vo xvmc:queue -vc ffmpeg12mc dvd://
MPlayer 1.0pre3try2-3.3.2 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 997.2 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/sergio/.mplayer/config
Reading /home/sergio/.mplayer/codecs.conf: Can't open '/home/sergio/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/sergio/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /home/sergio/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Playing dvd://.
Reading disc structure, please wait...
There are 3 titles on this DVD.
There are 23 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 8500.0 kbps (1062.5 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.0
==========================================================================
Forced video codec: ffmpeg12mc
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
vd_ffmpeg: XVMC accelerated MPEG2
Selected video codec: [ffmpeg12mc] vfm:ffmpeg (FFmpeg MPEG 1/2 (XvMC))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: MPEG1/2 Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation as output csp (no 1)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 720x576 => 1024x576 MPEG1/2 Motion Compensation
vo_xvmc: Port 69 grabed
vo_xvmc: Found matching surface with id=32315659 on 69 port at 0 adapter
fd =9 block_handle=ec000000 block_size = 1000000
fd =9 mmio_handle=f2000000 mmio_size = 5000000
vo_xvmc: Allocated Direct Context
vo_xvmc: data_blocks allocated
vo_xvmc: mv_blocks allocated
Unable to create XvMCSurface.
vo_xvmc: Motion Compensation context allocated - 5 surfaces
vo_xvmc: idct=0 unsigned_intra=1
vo_xvmc: looking for OSD support
Subpicture id 0x34344149
vo_xvmc: OSD support by beckend rendering (fast)
vo_xvmc: Pleace send feedback to configrm that it work,otherwise send bugreport!
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
EventTag: timed out 1.
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
EventTag: timed out 1.
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
EventTag: timed out 1.
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
EventTag: timed out 1.
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
EventTag: timed out 1.
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
16-bit IDCT
Killed
More information about the MPlayer-users
mailing list