[MPlayer-users] XvMCCreateContext failed with error 2

Michael Holland mplayer at golden.wattle.id.au
Thu Jun 29 17:48:30 CEST 2006


Hi,
I'm trying to get XvMC working for HDTV on AMD64 and Nvidia 6100.
I'm using the 8762 binary nvidia driver from Ubuntu 6.06.
Is there any official documentation on xvmc for mplayer?
What should I be reading to get this working?

My command-line and output is attached below.
ummm ... any useful error messages there?? please?

--------------------------

$ mplayer -vo xvmc -vc ffmpeg12mc some-sitcom.ts

MPlayer dev-SVN-r18613-4.0.3 (C) 2000-2006 MPlayer Team
CPU: AMD Sempron(tm) Processor 2600+ (Family: 15, Model: 44, Stepping: 2)
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 some-sitcom.ts
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -2,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=522)AUDIO A52(pid=750) NO SUBS (yet)!  PROGRAM N. 0
Opened TS demuxer, audio: 2000(pid 750), video: 10000002(pid 
522)...POS=108288, PROBE=2000000
VIDEO:  MPEG2  1920x1088  (aspect 3)  25.000 fps  15000.0 kbps (1875.0 
kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (dolby)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
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))
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1920 x 1088 (preferred colorspace: MPEG1/2 
Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1920x1088 => 1934x1088 MPEG1/2 Motion Compensation and IDCT
vo_xvmc: Port 276 grabed
vo_xvmc: Found matching surface with id=54434449 on 276 port at 2 adapter
XvMCWrapper: Could not open config file "/etc/X11/XvMCConfig".
XvMCWrapper: No such file or directory
vo_xvmc: XvMCCreateContext failed with error 2
FATAL: Cannot initialize video driver.
[VD_FFMPEG] Trying pixfmt=1.
VDec: vo config request - 1920 x 1088 (preferred colorspace: MPEG1/2 
Motion Compensation)
VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1920x1088 => 1934x1088 MPEG1/2 Motion Compensation and IDCT
vo_xvmc: Port 276 grabed
vo_xvmc: Found matching surface with id=54434449 on 276 port at 2 adapter
vo_xvmc: XvMCCreateContext failed with error 2
FATAL: Cannot initialize video driver.
VDec: vo config request - 1920 x 1088 (preferred colorspace: MPEG1/2 
Motion Compensation and IDCT)
VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xvmc] 1920x1088 => 1934x1088 MPEG1/2 Motion Compensation and IDCT
vo_xvmc: Port 276 grabed
vo_xvmc: Found matching surface with id=54434449 on 276 port at 2 adapter
vo_xvmc: XvMCCreateContext failed with error 2
FATAL: Cannot initialize video driver.
[VD_FFMPEG] Unexpected init_vo error.



More information about the MPlayer-users mailing list