[MPlayer-users] Issues using rebuild of 1.0pre7 w/ Unichrome XvMC

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Oct 9 00:27:21 CEST 2005


Dominik 'Rathann' Mierzejewski wrote:

>On Saturday, 08 October 2005 at 11:16, Philip Prindeville wrote:
>  
>
>>I recently built and installed xorg 6.8.99.900 which included support
>>for VIA motherboards and XvMC acceleration...
>>
>>Then I grabbed the 1.0pre7 source RPM for FC3, and rebuild it,
>>forcing --with xvmc --with-xvmclib=viaXvMC and it built and linked
>>fine, so I installed the resulting package.
>>
>>But when I tried to it with -vo xvmc (which showed up when I ran
>>-vo help), it failed.  See below.
>>
>>I double-checked that /etc/X11/XvMCConfig was present and valid...
>>
>>No idea what's wrong.  Any clues?
>>    
>>
>
>Honestly, I don't know. I've never been able to use xvmc because my card
>doesn't support it. As such, XvMC support in the RPM should be considered
>experimental at best. I will, however, welcome any patches to the spec
>file that make it work.
>
>In the meantime, I suggest trying CVS checkout and building directly
>from the source.
>
>R.
>
>  
>

Ok, got the sources from CVS, and cloned the "configure" invocation as
the build for FC3 does it...  Then made a couple of minor tweaks (below).
Here's what I got:

[root at media mplayer]# DISPLAY=:0 sh -x rtp-view
+ nice --5 mplayer -vf pp=lb -hardframedrop rtp://224.0.1.2:5004
MPlayer dev-CVS-051008-15:57-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 64 Clawhammer (Family: 15, Stepping: 10)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2



Playing rtp://224.0.1.2:5004.
STREAM_RTP, URL: rtp://224.0.1.2:5004
Cache fill: 17.87% (1499136 bytes)    TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=17)AUDIO A52(pid=20) NO SUBS (yet)!  PROGRAM N. 0
Opened TS demuxer, audio: 2000(pid 20), video: 10000002(pid 17)...POS=66928
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  15000.0 kbps (1875.0 
kbyte/s)
==========================================================================
Forced audio codec: hwdts
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 384000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [hwac3] afm:hwac3 (AC3 through S/PDIF)
==========================================================================
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.1
Opening video filter: [pp=lb]
Opening video filter: [scale]
Couldn't open video filter 'pp'.
==========================================================================
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))
==========================================================================
Building audio filter chain for 48000Hz/2ch/ac3 -> 0Hz/0ch/??...
alsa-init: 1 soundcard found, using: iec958
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 2ch ac3 (1 B/s)
Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/ac3...
Starting playback...
vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
VDec: vo config request - 1920 x 1080 (preferred csp: MPEG1/2 Motion 
Compensation 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.
Also try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
trying pixfmt=1
Only buffers allocated by vo_xvmc allowed
mplayer: vd_ffmpeg.c:1023: mc_get_buffer: Assertion `0' failed.


MPlayer interrupted by signal 6 in module: decode_video
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We 
can't and
  won't help unless you provide this information when reporting a 
possible bug.
alsa-uninit: pcm closed
[root at media mplayer]#
[root at media mplayer]# tail /etc/mplayer/mplayer.conf

##
## You can also include other configfiles
##
#

ac=hwdts,hwac3,mp3,a52,pcm

vo=xvmc,xv
vc=ffmpeg12mc
[root at media mplayer]#


-Philip




More information about the MPlayer-users mailing list