You are not logged in.

#1 2013-07-26 13:40:56

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,716

mplayer -vo vaapi OSD color issue

I'm using community/mplayer-vaapi-36265-1, with intel HD 4600 integrated graphics.
When I play a video (x264 encoded) with:

mplayer -vo vaapi -va vaapi video.mkv

I get very strange OSD colors:
acnd1pZV.jpg
colorful, but it's supposed to be white.

Any ideas?

Last edited by lolilolicon (2013-07-26 13:43:11)


This silver ladybug at line 28...

Offline

#2 2013-07-26 15:45:25

magicalChicken
Member
From: in the sky
Registered: 2012-03-03
Posts: 73
Website

Re: mplayer -vo vaapi OSD color issue

I would try setting the --ass-color param, which takes a rgba color code. So make your command:

mplayer --ass-color=FFFFFFFF -vo vaapi -va vaapi video.mkv

Offline

#3 2013-07-26 16:24:10

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,716

Re: mplayer -vo vaapi OSD color issue

magicalChicken wrote:

I would try setting the --ass-color param, which takes a rgba color code. So make your command:

mplayer --ass-color=FFFFFFFF -vo vaapi -va vaapi video.mkv

-ass-color didn't make any difference.
I notice the OSD actually sometimes flashes and turns white for a split millisecond and back. Also, I wonder whether you guys have this issue too? Is it an issue specific to VAAPI or common to hardware accelerated playback?

Last edited by lolilolicon (2013-07-26 16:24:42)


This silver ladybug at line 28...

Offline

#4 2013-07-27 12:47:24

mangust
Member
From: nomad
Registered: 2010-09-18
Posts: 31

Re: mplayer -vo vaapi OSD color issue

I'm having the same issue. I guess, it's vaapi related problem. Changing video output to xv "solves" the issue. So far, I cannot say, that such weird OSD behavior has any impact on overall video playback. Again, I guess, it's related to drawing OSD through vaapi. Whether it's mplayer-vaapi bug or libva-intel-driver, I can't say. It needs more "investigation".


"I hate computers, why didn't I become a street musician?" - phrakture

Offline

#5 2013-07-27 13:41:40

totolotto
Member
From: Hungary
Registered: 2012-11-13
Posts: 107

Re: mplayer -vo vaapi OSD color issue

Same here and also opened a topic on the subject: https://bbs.archlinux.org/viewtopic.php?id=167189

If the subtitle is simple .srt file the issue can be fixed with:

ass=yes
ass-color=ffffff00

but the system messages are still funny. Also, if the subtiltes are ass coded (maybe this is not the right term) the above color setting is not effective.

Offline

#6 2013-07-27 15:45:46

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,716

Re: mplayer -vo vaapi OSD color issue

@totolotto
Indeed, forcing .srt subtitles to be rendered as ass like this can work around the funny colors in the subtitles. I had forgotten to add `-ass` to the command line when magicalChicken suggested it. Actually ass subtitles are rendered just fine with `-vo vaapi`. Apparently the (libass based) ass rendering engine is separate from the builtin OSD renderer, which does not cope with `-vo vaapi`. I'm not sure where to report this bug.


This silver ladybug at line 28...

Offline

Board footer

Powered by FluxBB