[MPlayer-users] Re: [Unichrome-users] Mplayer XvMC failure with Unichrome

Thomas Hellström unichrome at shipmail.org
Tue Jun 8 09:38:12 CEST 2004


Hi!

The unichrome XvMC implementation does not support the standard "MOCOMP"
and "IDCT" levels of acceleration but only a non-standard "VLD" higher
level of acceleration. I'm (slowly) working on Xine support for this level
but nobody is doing anything with mplayer AFAIK.

The only application currently capable of using Unichrome's XvMC is the
experimental "mp2player" which is downloadable from the unichrome site.
Some people have hacked mplayer to launch mp2player and play through that
one, but automatic scaling and OSD will then not be supported.






> Hi Everyone,
>
> I was hoping to use the CLE266 mpeg-2 decoder on the VIA M10000 board
> running off Linux, but so far no success.  I don't know whether this is an
> mplayer or a Unichrome issue, so I'm cross-posting.
>
> I successfully compiled and installed the Unichrome project's release-19
> modification of XFree86, as well as libviaXvMC.  Launching X gives:
>
> 	(II) VIA(0): [XvMC] Initialized XvMC extension.
>
> so I believe the XvMC extension is running.
>
> I compiled mplayer from CVS source as of 7 June 2004, and tried to play
> a DVD using the following command:
>
> 	mplayer -vo xvmc -vc ffmpeg12mc -v -v -v dvd://
>
> It eventually dies with the error:
> 	Only buffers allocated by vo_xvmc allowed
> 	mplayer: vd_ffmpeg.c:934: mc_get_buffer: Assertion `0' failed.
>
> Here is the output of mplayer -v
>
> (~) 58% mplayer -v
> MPlayer dev-CVS-040607-17:41-3.2.3 (C) 2000-2004 MPlayer Team
>
> CPU: IDT/Centaur/VIA C3 Nehemiah (Family: 6, Stepping: 5)
> Detected cache-line size is 32 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 SSE
>
> And here is the full trace from video output initialization:
>
> vd_ffmpeg: XVMC accelerated MPEG2
> trying pixfmt=0
> [ffmpeg] aspect_ratio: 1.333333
> VDec: vo config request - 720 x 480 (preferred csp: MPEG1/2 Motion
> Compensation and IDCT)
> Trying filter chain: vo
> vo_xvmc: query_format=1DC70082
> vo_xvmc: Querying 5 adaptors
> vo_xvmc: Quering adaptor #0
> vo_xvmc: probing port #56
> vo_xvmc: XvMC list have 2 surfaces
> vo_xvmc: Quering adaptor #1
> vo_xvmc: probing port #57
> vo_xvmc: No XvMC supported.
> vo_xvmc: Quering adaptor #2
> vo_xvmc: probing port #58
> vo_xvmc: No XvMC supported.
> vo_xvmc: Quering adaptor #3
> vo_xvmc: probing port #59
> vo_xvmc: No XvMC supported.
> vo_xvmc: Quering adaptor #4
> vo_xvmc: probing port #60
> vo_xvmc: No XvMC supported.
> vo_debug: query(MPEG1/2 Motion Compensation and IDCT) returned 0x0 (i=0)
> vo_xvmc: query_format=1DC70002
> vo_xvmc: Querying 5 adaptors
> vo_xvmc: Quering adaptor #0
> vo_xvmc: probing port #56
> vo_xvmc: XvMC list have 2 surfaces
> vo_xvmc: Quering adaptor #1
> vo_xvmc: probing port #57
> vo_xvmc: No XvMC supported.
> vo_xvmc: Quering adaptor #2
> vo_xvmc: probing port #58
> vo_xvmc: No XvMC supported.
> vo_xvmc: Quering adaptor #3
> vo_xvmc: probing port #59
> vo_xvmc: No XvMC supported.
> vo_xvmc: Quering adaptor #4
> vo_xvmc: probing port #60
> vo_xvmc: No XvMC supported.
> vo_debug: query(MPEG1/2 Motion Compensation) returned 0x0 (i=1)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> SwScale params: -1 x -1 (-1=no scaling)
> Trying filter chain: scale vo
> vo_debug: query(MPEG1/2 Motion Compensation and IDCT) returned 0x0 (i=0)
> vo_debug: query(MPEG1/2 Motion Compensation) returned 0x0 (i=1)
> vo_xvmc: query_format=4D504553
> The selected video_out device is incompatible with this codec.
> trying pixfmt=1
> vd_ffmpeg::mc_get_buffer
> *** [vo] Allocating (slices) mp_image_t, 720x480x0bpp RGB packed, 0 bytes
> (imgfmt: 1dc70082, planes: 8632540,0,0 strides: 0,0,0, chroma: 0x0, shift:
> h:0,v:0)
> Only buffers allocated by vo_xvmc allowed
> mplayer: vd_ffmpeg.c:934: mc_get_buffer: Assertion `0' failed.
>
> Any help would be greatly appreciated.  I can do software decoding on the
> M10000,
> but I really want to play DVDs on the fanless M6000, and that just doesn't
> work.
>
> Lincoln
>
> --
> Lincoln D. Stein
> Cold Spring Harbor Laboratory
> 1 Bungtown Road
> Cold Spring Harbor, NY 11724
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> Unichrome-users mailing list
> Unichrome-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unichrome-users
>




More information about the MPlayer-users mailing list