Issues w/ mplayer and XvMC
Hello! I got RPM's from the EPIA and LIVNA distros for my SP-13000 running FC6 (updated): xorg-x11-drv-via-devel-0.2.1.svn295-1 xorg-x11-drv-via-0.2.1.svn295-1 mesa-libGLU-6.5.2-6.fc6.ucr.6 mesa-libGLU-devel-6.5.2-6.fc6.ucr.6 mesa-libGL-6.5.2-6.fc6.ucr.6 mesa-libGL-devel-6.5.2-6.fc6.ucr.6 and: libdvdnav-0.1.10-2.lvn6 xvidcore-1.1.2-2.lvn6 twolame-0.3.8-1.lvn6 mplayer-doc-1.0-0.72.20070325svn.lvn6 libdca-0.0.2-3.lvn6 mplayer-1.0-0.72.20070325svn.lvn6 mplayerplug-in-3.40-1.lvn6 x264-0-0.8.20061028.lvn6 faac-1.25-2.lvn6 faad2-2.0-19.20050131.lvn6 mplayer-gui-1.0-0.72.20070325svn.lvn6 lame-libs-3.97-4.lvn6 mencoder-1.0-0.72.20070325svn.lvn6 respectively. I set up XvMC: # cat /etc/X11/XvMCConfig libviaXvMCPro.so.1 # and I restarted my X server. It's up and running in 1920x1200 and detecting the "Pro" (you can probably skip these logs): (II) VIA(0): VIAGetRec (**) VIA(0): Depth 24, (--) framebuffer bpp 32 (==) VIA(0): RGB weight 888 (==) VIA(0): Default visual is TrueColor (**) VIA(0): Option "ActiveDevice" "CRT" (**) VIA(0): Option "Overclocked" "true" (II) VIA(0): Starting to parse config file options... (==) VIA(0): ShadowFB is disabled. (==) VIA(0): Acceleration is enabled. (==) VIA(0): Using XAA acceleration architecture. (==) VIA(0): Hardware two-color cursors. Software full color cursors. (**) VIA(0): VideoRAM 0kB (==) VIA(0): GPU virtual command queue will be enabled. (==) VIA(0): DRI IRQ will be enabled if DRI is enabled. (==) VIA(0): AGP DMA will be disabled if DRI is enabled. (==) VIA(0): PCI DMA will be used for XV image transfer if DRI is enabled. (==) VIA(0): Will not enable VBE modes. (==) VIA(0): VBE VGA register save & restore will not be used if VBE modes are enabled. ... (==) VIA(0): Xv Bandwidth check is enabled. (==) VIA(0): Will not impose a limit on video-ram set aside for DRI. (==) VIA(0): Will try to allocate 32768kB of AGP memory. (==) VIA(0): Digital output bus width is 12 bits. (==) VIA(0): DVI Center is disabled. (==) VIA(0): Panel size is not selected from config file. (==) VIA(0): Panel will not be forced. (==) VIA(0): TV dotCrawl is disabled. (==) VIA(0): TV deflicker is set to 0. (==) VIA(0): No default TV type is set. (==) VIA(0): No default TV output signal type is set. (--) VIA(0): Chipset: "PM800/PM880/CN400" (II) VIA(0): VIAMapMMIO (--) VIA(0): mapping MMIO @ 0xec000000 with size 0x9000 (--) VIA(0): mapping BitBlt MMIO @ 0xec200000 with size 0x10000 (II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) VIA(0): Will not print VGA Registers. (==) VIA(0): Will not scan I2C buses. (==) VIA(0): Chipset Rev.: 0 (WW) VIA(0): Manufacturer plainly copied main PCI ids to Subsystem/Card ids. (--) VIA(0): Detected VIA VT3118 (PM800). (II) VIA(0): ...Finished parsing config file options. (II) VIA(0): Detected MemClk 6 (II) VIA(0): ViaGetMemoryBandwidth (II) VIA(0): Detected TV Standard: NTSC. (==) VIA(0): Using gamma correction (1.0, 1.0, 1.0) (--) VIA(0): videoram = 65536k ... (II) VIA(0): Supported additional Video Mode: (II) VIA(0): clock: 154.0 MHz Image Size: 519 x 324 mm (II) VIA(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0 (II) VIA(0): v_active: 1200 v_sync: 1203 v_sync_end 1209 v_blanking: 1235 v_border: 0 (II) VIA(0): Serial No: T613357M1J7S (II) VIA(0): Monitor name: DELL 2405FPW (II) VIA(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 81 kHz, PixClock max 170 MHz ... (II) VIA(0): Modeline "1920x1200" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 -hsync +vsync (II) VIA(0): ViaOutputsDetect (II) VIA(0): Enabling panel from PCI-Subsystem Id information. (II) VIA(0): VIATVDetect (II) VIA(0): ViaVT162xDetect (II) VIA(0): I2C device "I2C bus 3:VT162x" registered at address 0x40. (--) VIA(0): Detected VIA Technologies VT1622A/VT1623 TV Encoder (II) VIA(0): ViaTVInit (II) VIA(0): ViaVT162xInit (II) VIA(0): VT162xSave (II) VIA(0): VT1622DACSense (--) VIA(0): VT162x: S-Video connected. (II) VIA(0): ViaOutputsSelect (II) VIA(0): ViaOutputsSelect: X Configuration: 0x01 (II) VIA(0): ViaOutputsSelect: BIOS Initialised register: 0x07 (II) VIA(0): ViaOutputsSelect: CRT. (II) VIA(0): ViaModesAttach (II) VIA(0): Monitor0: Using hsync range of 30.00-81.00 kHz (II) VIA(0): Monitor0: Using vrefresh range of 56.00-76.00 Hz (II) VIA(0): Monitor0: Using maximum pixel clock of 170.00 MHz (II) VIA(0): Clock range: 20.00 to 230.00 MHz ... (--) VIA(0): Virtual size is 1920x1200 (pitch 1920) (**) VIA(0): *Driver mode "1920x1200": 154.0 MHz (scaled from 37.0 MHz), 74.0 kHz, 60.0 Hz (II) VIA(0): Modeline "1920x1200" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 -hsync +vsync ... (II) VIA(0): [XvMC] Registering viaXvMCPro. (II) VIA(0): [XvMC] Initialized XvMC extension. (II) VIA(0): - Done So far, everything looks good. Then I configured mplayer: # (cd /etc/mplayer ; diff -u mplayer.conf.orig mplayer.conf) --- mplayer.conf.orig 2007-03-27 11:28:57.000000000 -0600 +++ mplayer.conf 2007-03-31 02:14:47.000000000 -0600 @@ -18,6 +18,8 @@ # Specify default video driver (see -vo help for a list). #vo=xv +vo=xvmc,xv, +vc=ffmpeg12mc, # Use SDL video with the aalib subdriver by default. #vo = sdl:aalib @@ -62,6 +64,8 @@ # Use this for a widescreen monitor, non-square pixels. #monitoraspect=16:9 +monitoraspect=16:10 + # Keep the player window on top of all other windows. #ontop=yes @@ -71,7 +75,8 @@ ################## # Specify default audio driver (see -ao help for a list). -ao = alsa +ao = alsa:device=iec958 +ac = hwdts,hwac3,mp3,a52,pcm # Use SDL audio driver with the esd subdriver by default. #ao = sdl:esd # But when I try to run the file: $ mplayer -vc ffmpeg12mc -vo xvmc -vf telecine -nocache BBCWorld.3.ts MPlayer SVN-r22817 rpm.livna.org (C) 2000-2007 MPlayer Team CPU: VIA Nehemiah (Family: 6, Model: 9, Stepping: 8) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 Compiled with runtime CPU detection. 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 BBCWorld.3.ts. TS file format detected. VIDEO MPEG2(pid=49) AUDIO A52(pid=52) NO SUBS (yet)! PROGRAM N. 3 VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 10000.0 kbps (1250.0 kbyte/s) vo_xvmc: X-Video extension 2.2 vo_xvmc: X-Video MotionCompensation Extension version 1.1 Opening video filter: [telecine] ========================================================================== 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)) ========================================================================== ========================================================================== 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, 192000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF) ========================================================================== AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample) Starting playback... [VD_FFMPEG] XVMC-accelerated MPEG-2. [VD_FFMPEG] Trying pixfmt=0. VDec: vo config request - 720 x 480 (preferred colorspace: 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. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. [VD_FFMPEG] Trying pixfmt=1. VDec: vo config request - 720 x 480 (preferred colorspace: MPEG1/2 Motion Compensation) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDec: vo config request - 720 x 480 (preferred colorspace: 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. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. [VD_FFMPEG] Unexpected init_vo error. $ What am I missing? Using "-vc ffmpeg12 -vo xv" works fine. -Philip
participants (2)
-
Philip Prindeville -
RC