Poster | Thread |
gtmooya
| |
MPlayer Window Transparency Posted on 23-Nov-2014 13:23:27
| | [ #1 ] |
|
|
|
Regular Member |
Joined: 8-May-2011 Posts: 285
From: Unknown | | |
|
| When playing a video in MPlayer the window is transparent when not active, i.e. when doing other things. Is there a way to stop MPlayer being transparent without turning off compositing completely in GUI Prefs?
Thanks! _________________ gtmooya's blog |
|
Status: Offline |
|
|
zzd10h
| |
Re: MPlayer Window Transparency Posted on 23-Nov-2014 14:34:25
| | [ #2 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| @gtmooya
I had the same problem with MPlayer when inactive.
I simply put the transparency of inactive windows to "0%" in Prefs/GUI/Effects/Windows transparency
edit : I just read the end of your question "without turning off compositing completely in GUI Prefs"... Last edited by zzd10h on 23-Nov-2014 at 06:36 PM.
_________________ http://apps.amistore.net/zTools |
|
Status: Offline |
|
|
K-L
| |
Re: MPlayer Window Transparency Posted on 23-Nov-2014 14:51:58
| | [ #3 ] |
|
|
|
Super Member |
Joined: 3-Mar-2006 Posts: 1410
From: Oullins, France | | |
|
| @zzd10h
Yes, it's due to compositing engine which allows transparency in AmigaOS 4.1. When you use overlay (on Radeon 9xxx cards), this doesn't happen. _________________ PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14 AmigaONE X1000, 2GB, Sapphire Radeon HD 7700 FPGA Replay + DB 68060 at 85Mhz |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: MPlayer Window Transparency Posted on 24-Nov-2014 2:01:07
| | [ #4 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12795
From: Norway | | |
|
| |
Status: Offline |
|
|
salass00
| |
Re: MPlayer Window Transparency Posted on 24-Nov-2014 8:52:58
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @zzd10h
Quote:
I simply put the transparency of inactive windows to "0%" in Prefs/GUI/Effects/Windows transparency
edit : I just read the end of your question "without turning off compositing completely in GUI Prefs"...
|
Just turning off inactive window transparency is not the same as "turning off compositing completely". |
|
Status: Offline |
|
|
broadblues
| |
Re: MPlayer Window Transparency Posted on 24-Nov-2014 13:54:50
| | [ #6 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| @NutsAboutAmiga
Adding an option to set these two to 255 , TRUE would solve this issue most elegantly.
WA_Opaqueness - (UBYTE) The initial overall opaqueness of the window. It can range from zero (invisible) to 255 (fully opaque). It will be combined with the global opaqueness level for this type of window as selected by the user in GUI preferences, unless you set WA_OverrideOpaqueness to TRUE. Defaults to 255. (V53)
WA_OverrideOpaqueness - (BOOL) If TRUE, the window opaqueness set via WA_Opaqueness will never get affected by any global opaqueness level from user preferences. If you use this, make sure to offer an alternate way for the user to set his preferred opaqueness for the windows of your application. Defaults to FALSE. (V53)
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
gtmooya
| |
Re: MPlayer Window Transparency Posted on 24-Nov-2014 19:22:37
| | [ #7 ] |
|
|
|
Regular Member |
Joined: 8-May-2011 Posts: 285
From: Unknown | | |
|
| @zzd10h
Thanks, changing to 0% did the job. Didn't want to turn compositing off completely and lose all the effects. _________________ gtmooya's blog |
|
Status: Offline |
|
|
gtmooya
| |
Re: MPlayer Window Transparency Posted on 24-Nov-2014 19:27:36
| | [ #8 ] |
|
|
|
Regular Member |
Joined: 8-May-2011 Posts: 285
From: Unknown | | |
|
| @K-L
This explains why it wasn't an issue on the Sam440 with 9250 then. Currently have an A1-500 with a RadeonHD card.
On the plus side the video shows up when screen grabbing on the A1-500, I'm sure on the 440 there was just a black square instead. _________________ gtmooya's blog |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: MPlayer Window Transparency Posted on 25-Nov-2014 2:06:50
| | [ #9 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12795
From: Norway | | |
|
| |
Status: Offline |
|
|
Hans
| |
Re: MPlayer Window Transparency Posted on 25-Nov-2014 3:08:50
| | [ #10 ] |
|
|
|
Elite Member |
Joined: 27-Dec-2003 Posts: 5066
From: New Zealand | | |
|
| @NutsAboutAmiga
Quote:
NutsAboutAmiga wrote: @broadblues
Yes its easy to fix, does every one wont the inactive window to not be transparent? |
While I think that the transparent effect looks kind of cool with a running video, it's distracting when you're trying to watch something. I regularly watch video clips in one window while working in another, so I see the value in disabling the transparency.
Having said that, those video clips that I watch are often in a browser window, where mplayer's transparency settings won't help. Maybe I'm better off disabling transparency for inactive windows (unless they're being moved, I find that quite useful)...
Hans
_________________ http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more. Home of the RadeonHD driver for Amiga OS 4.x project. https://keasigmadelta.com/ - More of my work. |
|
Status: Offline |
|
|
mbrantley
| |
Re: MPlayer Window Transparency Posted on 25-Nov-2014 3:25:01
| | [ #11 ] |
|
|
|
Cult Member |
Joined: 10-Jun-2010 Posts: 559
From: Mobile, Alabama, United States | | |
|
| @NutsAboutAmiga
Quote:
Yes its easy to fix, does every one wont the inactive window to not be transparent? |
That would be a welcome tweak. And thank you again for the work on mplayer. I am really looking forward to the release of FE._________________
|
|
Status: Offline |
|
|
samo79
| |
Re: MPlayer Window Transparency Posted on 25-Nov-2014 17:06:25
| | [ #12 ] |
|
|
|
Elite Member |
Joined: 13-Feb-2003 Posts: 3505
From: Italy, Perugia | | |
|
| By default inactive windows shouldn't be trasparent, there is no reason to have this effect only in MPlayer.
Atleast you like to set this specific effect in SYS:Prefs, but in that case this will be applied in all windows _________________ BACK FOR THE FUTURE
http://www.betatesting.it/backforthefuture
Sam440ep Flex 800 Mhz 1 GB Ram + AmigaOS 4.1 Update 6 AmigaOne XE G3 800 Mhz - 640 MB Ram - Radeon 9200 SE + AmigaOS 4.1 Update 6 |
|
Status: Offline |
|
|
broadblues
| |
Re: MPlayer Window Transparency Posted on 25-Nov-2014 22:47:27
| | [ #13 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4446
From: Portsmouth England | | |
|
| @samo79
Quote:
By default inactive windows shouldn't be trasparent, there is no reason to have this effect only in MPlayer.
|
Not sure what you mean, in all the comon themes inactive windows *are* partially transparent, and there is every reason to have an option overide of this in mplayer as you will want to view video while doing other things.
For the same reason sketchwindows have an option to switch off effects in sketchblock(transparency *and* shadows) so that you can work n the GUI windows with out chnagig the appearance of the image.
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|