You are not logged in.

#1 2013-07-25 06:49:01

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

mplayer-vaapi osd issue

Hello All,
I use mplayer-vaapi (with intel i7/hd4000) and can't figure out how to configure the osd settings properly.
If ass is disabled the subtitle fonts look like below. If ass is enabled the subtitle fonts are OK, but the OSD message fonts ares still ugly:
7yLsp8o.jpg

Thanks for your help!

Offline

#2 2013-07-28 04:35:07

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: mplayer-vaapi osd issue

I'm getting this problem too. I think it's a bug with current versions of the related packages (Intel drivers and mplayer). You may want to try with another vaapi enabled player, or compiling git versions of mplayer-vaapi.

Offline

#3 2013-07-28 08:19:14

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

Re: mplayer-vaapi osd issue

Unfortunately the mplayer-vaapi git repo doesn't seem to have any activity recently; all the activity is happening in the gstreamer-vaapi as far as I can see. Our mplayer-vaapi package is the newest available already.


This silver ladybug at line 28...

Offline

#4 2013-07-28 08:24:30

Cloudef
Member
Registered: 2010-10-12
Posts: 636

Re: mplayer-vaapi osd issue

You could try this with vanilla mplayer2/mpv (using -vo vdpau) https://bbs.archlinux.org/viewtopic.php?id=166593

Last edited by Cloudef (2013-07-28 08:24:57)

Offline

#5 2013-07-28 09:26:47

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

Re: mplayer-vaapi osd issue

Thank you Cloudef this works nicely.
I'm using vanilla mplayer though, because according to mpv mplayer2 development is slow, and is not merging new stuff from mplayer, so no mplayer2 for me. I may try mpv if it were in the repos... The whole mplayer fork thing sounds like bikeshedding to me, after all...
I don't know the details, but I get the feeling VDPAU / VA-API can both be each other's backend? So they're like competing to be the most widely adopted interface or something?


This silver ladybug at line 28...

Offline

#6 2013-07-28 11:12:58

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

Re: mplayer-vaapi osd issue

Cloudef wrote:

You could try this with vanilla mplayer2/mpv (using -vo vdpau) https://bbs.archlinux.org/viewtopic.php?id=166593

I installed libvdpau-va-gl and created executable  /etc/profile.d/vdpau_vaapi.sh, but the processor usage with mpv -vo=vdpau was very high (~40-50%) compared to mplayer-vaapi ~3-4%.

Offline

#7 2013-07-28 11:22:03

Cloudef
Member
Registered: 2010-10-12
Posts: 636

Re: mplayer-vaapi osd issue

I'm using vanilla mplayer though, because according to mpv mplayer2 development is slow, and is not merging new stuff from mplayer, so no mplayer2 for me. I may try mpv if it were in the repos... The whole mplayer fork thing sounds like bikeshedding to me, after all...

The mplayer fork situation is indeed funny, but I won't comment about that further.

I don't know the details, but I get the feeling VDPAU / VA-API can both be each other's backend? So they're like competing to be the most widely adopted interface or something?

VDPAU was Nvidia's implementation of video acceleration API, while VAAPI is freedesktop's. So basically vdpau-vaapi implements VDPAU interface to the application, but in reality uses the VAAPI interface behind these functions AKA wrapper of sort. I have no experience with any of these API's, but I think I've heard things about VDPAU being nicer to develop for.

I installed libvdpau-va-gl and created executable  /etc/profile.d/vdpau_vaapi.sh, but the processor usage with mpv -vo=vdpau was very high (~40-50%) compared to mplayer-vaapi ~3-4%.

I don't use HW decoding myself for various reasons and don't have VA-API enabled GPU, but that doesn't sound right indeed.
You might have more luck asking in the thread above.

Offline

#8 2013-07-28 11:26:27

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

Re: mplayer-vaapi osd issue

I don't use HW decoding myself for various reasons...

May I ask what those reasons are?

Offline

#9 2013-07-28 11:41:24

Cloudef
Member
Registered: 2010-10-12
Posts: 636

Re: mplayer-vaapi osd issue

May I ask what those reasons are?

They can't decode hi10p, occasional stuttering on high quality content. I'm fine blitting with -vo gl3 and decoding on CPU.
Of course this is not a option, if power saving is the goal where specialized hardware wins.

Offline

#10 2013-07-28 12:29:54

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: mplayer-vaapi osd issue

totolotto wrote:
Cloudef wrote:

You could try this with vanilla mplayer2/mpv (using -vo vdpau) https://bbs.archlinux.org/viewtopic.php?id=166593

I installed libvdpau-va-gl and created executable  /etc/profile.d/vdpau_vaapi.sh, but the processor usage with mpv -vo=vdpau was very high (~40-50%) compared to mplayer-vaapi ~3-4%.

Mplayer may not decode with vdpau by default (also, make sure not to use mplayer-vaapi anymore, it doesn't really work with vdpau)

When playing a video mplayer should say:
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))

if not, then you can edit ~/.mplayer/config and add this lines

[default]
vo=vdpau
vc=ffmpeg12vdpau,ffvc1vdpau,ffh264vdpau,

Last edited by Cdh (2013-07-28 12:30:46)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

Board footer

Powered by FluxBB