You are not logged in.

#1 2013-08-07 09:43:01

DexterLB
Member
Registered: 2011-06-20
Posts: 51

mplayer + vaapi: zoom/crop?

Hello

I've been trying to get accelerated video playback on a Radeon HD6250 chip. I got it working with xvba-video and mplayer-vaapi, but I can't get cropping to work (I want to crop a wide video to 16:9)
"-vf crop" doesn't appear to be making use of hardware acceleration (video plays at 0.8fps)
The only player in which I could get this to work is xbmc - it plays and crops flawlessly, however I don't need a bloated media centre, all I need is a media player, preferably without gui..

If there's no way to do this in mplayer, is there another player that's lightweight and can do this?


The best solution to a problem is usually the easiest one.

Offline

#2 2013-08-09 15:30:34

cellisten
Member
From: Gothenburg
Registered: 2013-08-08
Posts: 30
Website

Re: mplayer + vaapi: zoom/crop?

Are you using the -vo vaapi option for mplayer?

Offline

#3 2013-08-09 18:12:40

DexterLB
Member
Registered: 2011-06-20
Posts: 51

Re: mplayer + vaapi: zoom/crop?

yep.
I managed to sort of hack it: I made it run in window mode, and then wrote a script that resizes the window so that it's scaled properly and the parts I don't see are outside the screen, but I'm still wondering if there's a mainstream solution.


The best solution to a problem is usually the easiest one.

Offline

#4 2013-08-10 09:49:02

cellisten
Member
From: Gothenburg
Registered: 2013-08-08
Posts: 30
Website

Re: mplayer + vaapi: zoom/crop?

Well, sounds like an ok solution. I always had problems with VAAPI and Radeon drivers so I'm not sure there is a more mainstream solution.

Offline

Board footer

Powered by FluxBB