[MPlayer-users] -adapter option on windows

Morris Beverly mo at avpresentations.com
Thu Mar 29 22:31:28 CEST 2012


Reimar Döffinger wrote:
> On Thu, Mar 29, 2012 at 02:05:24PM -0400, Morris Beverly wrote:
>   
>> Reimar Döffinger wrote:
>>     
>>> On Tue, Mar 27, 2012 at 06:42:43PM -0400, Morris Beverly wrote:
>>>       
>>>> mplayer.exe filename -quiet -slave -osdlevel 0 -idle -fixed-vo
>>>> -nocache -fs -adapter 2
>>>>
>>>> This worked perfectly with mplayer binaries through around 2009.
>>>> After that with newer versions (oss.netfarm.it/mplayer-win32.php) of
>>>> mplayer the video always played fullscreen on the primary monitor
>>>>         
>>>> Not sure if that is your issue, but which hardware adapter to use
>>>> and which screen to display on probably are now completely independent.
>>>> So I expect you now need to set both -xineramascreen and -adapter.
>>>> However, MPlayer should by default go to fullscreen on the screen
>>>> it already was on, and if not that should be a bug.
>>>> Try comparing behaviour against -vo direct3d or -vo gl (I assume
>>>> there is a reason you can't use those? But I'd expect they
>>>> are usable enough to at least compare window placement behaviour).
>>>>
>>>>
>>>>         
>> I've run a lot of different command lines on an old and a new
>> mplayer version.  The long and short of it seems to be that the
>> adapter option doesn't work the way it used to, ie you could tell
>> mplayer to go fullscreen (fit to screen dimensions, keeping aspect
>> ratio and having a black border to edges) on an external monitor.
>>     
>
> That wasn't its real purpose, the purpose was to select the graphics card
> to use, the rest was more a case of adding a really separate feature on
> top.
> You should use -adapter for those cases where without it you only
> get a black/green/whatever image instead of video (fullscreen or
> not does not matter).
>
>   
>> I was able to get it to play mostly as I want with the new mplayer
>> versions using both directx and direct3d, as well as gl, by using
>> the geometry option without the -fs option, and using -x and -y to
>> size the image.  However, that has a few issues for me.
>>     
>
> Did you try the -xineramascreen option as I suggested?
> Though as said it should default to go to fullscreen on the screen
> the window already is on.
>
>   

Xineramascreen didn't seem to really change anything.  Using -2 does 
make it go to actual fullscreen across both displays, but using -1 
doesn't make it fullscreen on the second monitor; it seems to have no 
effect.  I still had to use all the geometry options to scale it and it 
didn't black out the background.  To be clear, I did not use the -fs 
option with it.  Any time -fs was on the command line, it went 
fullscreen on the primary monitor no matter what other options were used.



More information about the MPlayer-users mailing list