Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: VAAPI blue skin: the solution

  1. #1
    Join Date
    Feb 2010
    Posts
    8

    Default VAAPI blue skin: the solution

    I have no idea where to post this. I hope people will find this here and find it useful.

    As reported at http://www.hkepc.com/forum/viewthread.php?tid=1385589 and http://www.phoronix.com/forums/showp...&postcount=498 I can run mplayer -vo vaapi -va vaapi but then everyone's face / skin is blue. Very nice effect

    You want mplayer -vf rgb2bgr=swap,scale -vo vaapi -va vaapi

  2. #2
    Join Date
    Feb 2010
    Posts
    8

    Default

    Ubuntu Karmic build instructions are at http://drupal4hu.com/node/244

  3. #3
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    970

    Default

    Still only mpeg2 acceleration, am I right?

  4. #4
    Join Date
    Feb 2010
    Posts
    8

    Default

    Absolutely not, I have an AVC1 1080p mkv which pretty much does not play on my laptop without VA API and plays acceptable w it.

  5. #5
    Join Date
    Aug 2007
    Posts
    6,641

    Default

    And what does

    vainfo

    show you?

  6. #6
    Join Date
    Aug 2007
    Posts
    6,641

    Default

    Btw. my script enables 965 driver on the fly too, maybe you did not notice it...

    http://kanotix.com/files/fix/mplayer-vaapi-latest.txt

  7. #7
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    983

    Default

    i965 seems to only support MPEG2 at the moment:

    Code:
    libva: libva version 0.31.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/dri/i965_drv_video.so
    libva: va_openDriver() returns 0
    vainfo: VA API version: 0.31
    vainfo: Driver version: i965 Driver 0.1
    vainfo: Supported profile and entrypoints
          VAProfileMPEG2Simple            :	VAEntrypointVLD
          VAProfileMPEG2Main              :	VAEntrypointVLD

  8. #8
    Join Date
    Aug 2007
    Posts
    6,641

    Default

    Yes, i know, that's why bean's comments are a bit curious.

  9. #9
    Join Date
    Nov 2009
    Location
    Italy
    Posts
    970

    Default

    Too bad, I was already patching my mplayer ebuild
    It seems I will have to use mplayer-mt for a while...

  10. #10
    Join Date
    Jun 2009
    Location
    Paris
    Posts
    432

    Default

    Quote Originally Posted by bean View Post
    I have no idea where to post this. I hope people will find this here and find it useful.

    As reported at http://www.hkepc.com/forum/viewthread.php?tid=1385589 and http://www.phoronix.com/forums/showp...&postcount=498 I can run mplayer -vo vaapi -va vaapi but then everyone's face / skin is blue. Very nice effect

    You want mplayer -vf rgb2bgr=swap,scale -vo vaapi -va vaapi
    I don't understand your problem, please be more specific. The second link you mention is not relevant at all since this is a Radeon HD 5x00 specific problem. Ah, I probably forgot to fix the V/U planes in G45? You'd probaby want to replace all VA_FOURCC('Y','V','1','2') occurrences with VA_FOURCC('I','4','2','0') in i965_drv_video.c.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •