[mythtv-users] Nvidia (binary driver) with XvMC and MPlayer

Steven Adeff adeffs.mythtv at gmail.com
Sun May 7 09:13:49 EDT 2006


On 5/7/06, Big Wave Dave <bigwavedave at gmail.com> wrote:
> I am having issues getting mplayer (using atrpms package) to work with xvmc.  I
> receive errors and a black window (where there should be video).  Xine appears
> to be working fine (using: [superdave at bart ~]$ xine -V xvmc
> /mythtv/recordings/1191_20060424120000.mpg).  This leads me to believe that
> XvMC is installed/configured correctly, but that Mplayer doesn't like it.
>
> Failing Command and Output:
> [superdave at bart ~]$ XVMC_DEBUG=1 mplayer -vo xvmc -vc ffmpeg12mc
> /mythtv/recordings/1191_20060424120000.mpg
> MPlayer 1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team
> CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
>
>
> Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
> Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup
> scripts.
> Setting up LIRC support...
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support.
> You will not be able to use your remote control.
> Playing /mythtv/recordings/1191_20060424120000.mpg.
> TS file format detected.
> DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
> PROBING UP TO 2000000, PROG: 0
> VIDEO MPEG2(pid=2304)AUDIO A52(pid=2305) NO SUBS (yet)!  PROGRAM N. 1
> Opened TS demuxer, audio: 2000(pid 2305), video: 10000002(pid 2304)...POS=188
> VIDEO:  MPEG2  704x480  (aspect 2)  29.970 fps  15000.0 kbps (1875.0 kbyte/s)
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
> AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
> Using MMX optimized resampler
> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
> Selected audio codec: [a52] afm:liba52 (AC3-liba52)
> ==========================================================================
> vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
> 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))
> ==========================================================================
> Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> AF_pre: 48000Hz/2ch/s16le
> alsa-init: 1 soundcard found, using: default
> alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
> AO: [alsa] 48000Hz 2ch s16le (2 bps)
> Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> Starting playback...
> vd_ffmpeg: XVMC accelerated MPEG2
> vd_ffmpeg: XVMC-VLD accelerated MPEG2
> trying pixfmt=0
> VDec: vo config request - 704 x 480 (preferred csp: MPEG1/2 Motion Compensation
> and VLD)
> VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 1)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [xvmc] 704x480 => 704x528 MPEG1/2 Motion Compensation and IDCT
> vo_xvmc: Port 274 grabed
> vo_xvmc: Found matching surface with id=54434449 on 274 port at 0 adapter
> vo_xvmc: Allocated Direct Context
> vo_xvmc: data_blocks allocated
> vo_xvmc: mv_blocks allocated
> vo_xvmc: Motion Compensation context allocated - 8 surfaces
> vo_xvmc: idct=1 unsigned_intra=0
> vo_xvmc: looking for OSD support
>     Subpicture id 0x34344149
> vo_xvmc: OSD support by additional frontend rendering
> [mpegvideo_xvmc @ 0x86ceabc]XvMCLoadQMatrix: Error: 2
> [mpegvideo_xvmc @ 0x86ceabc]XvMCBeginSurface: Error: 2
> Error while decoding frame!
> [mpegvideo_xvmc @ 0x86ceabc]XvMCLoadQMatrix: Error: 2??% ??,?% 3 0
> [mpegvideo_xvmc @ 0x86ceabc]XvMCBeginSurface: Error: 2
> Error while decoding frame!
> [mpegvideo_xvmc @ 0x86ceabc]XvMCLoadQMatrix: Error: 2??% ??,?% 4 0
> [mpegvideo_xvmc @ 0x86ceabc]XvMCBeginSurface: Error: 2
> Error while decoding frame!
> [mpegvideo_xvmc @ 0x86ceabc]XvMCLoadQMatrix: Error: 2??% ??,?% 5 0
> [mpegvideo_xvmc @ 0x86ceabc]XvMCBeginSurface: Error: 2
> Error while decoding frame!
> [mpegvideo_xvmc @ 0x86ceabc]XvMCLoadQMatrix: Error: 2??% ??,?% 6 0
> [mpegvideo_xvmc @ 0x86ceabc]XvMCBeginSurface: Error: 2
> Error while decoding frame!
>
> Components:
> [superdave at bart ~]$ uname -a
> Linux bart 2.6.16-1.2096_FC5 #1 Wed Apr 19 05:14:36 EDT 2006 i686 athlon i386
> GNU/Linux
> [superdave at bart ~]$ rpm -qa | grep -i mplayer
> mplayer-fonts-1.0-6.at
> mplayer-skins-1.0-pre3_12.at
> mplayer-1.0-52_pre7try3.rhfc5.at
> [superdave at bart ~]$ rpm -qa | grep -i xvmc
> libXvMC-1.0.1-3
> libXvMC-devel-1.0.1-3
> [superdave at bart ~]$ cat /etc/X11/XvMCConfig
> libXvMCNVIDIA_dynamic.so.1
>
>
> Any input and/or suggestions are appreciated.


http://www.mplayerhq.hu/design7/info.html#mailing_lists

--
Steve
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list