Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > General Talk And Support
Register FAQ Calendar Today's Posts Search

General Talk And Support General talk and peer-to-peer support about BS.Player and other video and audio multimedia players.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 27th January 2003
Junior Member
BS.player Regular User
 
Join Date: Jan 2003
Posts: 19
Rep Power: 0
Juggalo is an unknown quantity at this point
Default Overlay: what's it about, and why doesn't it work sometimes?

Hi,

Can anybody explain what the "overlay" feature does, and what is the difference between mode 1 and 2?

Also, I noticed that sometimes BsPlayer "fails to create overlay", yet other times it works fine (i use v0.86 build 493). In case it has to do with hardware: I have a GeForce4 Ti4200 128Mb using NVidia's Detonator 30.82 driver (and shitloads of free ram).

I even noticed that some movies won't play if I disable this Overlay, or only play in mode 1 or 2. Why is that? Does overlay have anything to do with decoding a movie??
Reply With Quote
  #2 (permalink)  
Old 30th January 2003
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Posts: 156
Rep Power: 0
bluedan is an unknown quantity at this point
Default

Overlay is a nifty solution to provide quick picture composition on screen, without raising CPU load much. The GPU on your graphic board does most of the work.
Overlay can be created in different formats, i.e. color space formats.
If you're eager to learn more on that have a look here:
http://www.fourcc.org/.
Most important for quick overlay drawing are YUY2, YV12 and UYVY.
These color space formats differ from RGB (RedGreenBlue) color information storage in that way that they only distinguish between a luminance (brightness) and chrominance value.
They are generally speaken faster.
YV12 is the fastest AFAIK, but causes some trouble with cards which however don't properly support this format, thus image quality is decreased. For instance Matrox cards as well as NVIDIA are said to have bad driver architecture, bad overlay support. But, I own one myself (TNT2) and never had difficulties.
YV12 is usefull on slow machines for MPEG4 decoding (DivX and XVid) is heavy work for CPU, so every off-load is "good".
You can try to switch it on in bsplayer trough overlay mode 1, though curiously you will get YUY2 anyway when your XVid/DivX resides in an OGM container (instead AVI). Cannot explain.
If you switch to bsplayer overlay mode 2, you'll get YUY2 output which is default and preferred overlay output from most players and DirectShowFilters (ffdshow !).
On modern graphic cards there ought to be no visibile difference.
Changing between those two modes is only advised if your card does not support one mode. Also it's better to not manipulate this during playback, some systems don't tolerate this and bsplayer crashes. After mode switch close player and re-open to make it store overlay initialisation info in registry.
To find out which color overlays your graphic system supports try to use Sisoft Sandra 2003 to find out: http://www.sisoftware.co.uk/?dir=&lo...ate&a=&lang=en

Unfortunately, I feel helpless myself with bsplayer sometimes being unable to create overlay surface.
If there's a second application running using overlay, ok, but sometimes it just fails right after start-up. :shock:
Maybe BST can explain some day...

Hope this explained a bit!!
__________________
Keep forum organized and use the search button !! :o
Reply With Quote
  #3 (permalink)  
Old 8th February 2003
Junior Member
BS.Player Newbie
 
Join Date: Feb 2003
Posts: 1
Rep Power: 0
Ryoandr is an unknown quantity at this point
Default

Bluedan, where do you look in Sandra for best video overlay?
Reply With Quote
  #4 (permalink)  
Old 8th February 2003
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Posts: 156
Rep Power: 0
bluedan is an unknown quantity at this point
Default

click DirectX module. Scroll down to bottom.
__________________
Keep forum organized and use the search button !! :o
Reply With Quote
  #5 (permalink)  
Old 23rd June 2003
Junior Member
BS.Player Newbie
 
Join Date: Jun 2003
Posts: 1
Rep Power: 0
jorgen_s is an unknown quantity at this point
Default

Quote:
Originally Posted by bluedan

Unfortunately, I feel helpless myself with bsplayer sometimes being unable to create overlay surface.
If there's a second application running using overlay, ok, but sometimes it just fails right after start-up. :shock:
Maybe BST can explain some day...

Hope this explained a bit!!
I've noticed that is seems to happen when you have "preview" enabled in your windows explorer. It usually works when you disable that, don't know why the preview would need to use overlay but it seems like it does.
Reply With Quote
  #6 (permalink)  
Old 1st July 2003
Junior Member
BS.Player Newbie
 
Join Date: Jul 2003
Posts: 2
Rep Power: 0
vunna is an unknown quantity at this point
Default Netmeeting issue

If you have Netmeeting or similar software running on your computer, Direct Draw surface cannot be created, and overlay doesn't work, so BSA player (or any other player) switches to RGB mode, and picture is bad and slow... You have to turn off Netmeeting, and then it works perfectly!
Reply With Quote
  #7 (permalink)  
Old 24th August 2003
Senior Member
BS.Player Power User
 
Join Date: Jun 2002
Posts: 156
Rep Power: 0
bluedan is an unknown quantity at this point
Default

hey, stuck to that problem over and over again.
why is bsplayer unable to steal focus on that surface creation if it rivals with other apps with that?
when opening wmp instead there isn't such problem.
with zoomplayer neither!
__________________
Keep forum organized and use the search button !! :o
Reply With Quote
  #8 (permalink)  
Old 25th August 2003
Moderator
BS.Player Master
 
Join Date: Jan 2003
Location: Romania
Age: 57
Posts: 5,235
Rep Power: 32
adicoto is on a distinguished road
Default

WMP and zoomplayer, and koalafilmplayer and divxplayer and so on, don't use overlay. They use media player window .Bsplayer uses it's own window renderer. It does not use windows media player window. Uninstall WMP and all other players will fail to play. Bsplayer no. Probably when it reaches release 1.0 this problem will be solved.
Reply With Quote
  #9 (permalink)  
Old 16th September 2003
Senior Member
BS.Player Power User
 
Join Date: Nov 2002
Posts: 125
Rep Power: 0
bond is an unknown quantity at this point
Default

any possibility to enable "overlay mixer" in bsplayer?
overlay mode 1/2 doesnt use it in the graph....
Reply With Quote
  #10 (permalink)  
Old 17th September 2003
Junior Member
BS.player Regular User
 
Join Date: Jun 2003
Posts: 20
Rep Power: 0
Katharsis is an unknown quantity at this point
Default



To enable overlay...

First, click start -> Run -> "dxdiag", Click "Display" tab
Make sure directdraw acceleration is enabled.

Then, make sure you have no other players running, close all preview windows, all other programs and excess windows and leave only BSplayer running. Then...

Lower your resolution first to 800*600 then to 640*480
Lower your desktop colors count to 16bit depth, if it doesn't work then to 256 colors
Lower your display refresh frequency to 60hz.

You may not only have a slow PC, you may also have a graphics card with 8mb or less. After doing one or all three above BSplay should work in overlay. And if you have only 4mb graphics card or less, well, it was time to upgrade anyway :-)

If you use 256 colors and want to use subtitles, make sure you set in BSplayer preferences to display subtitles in overlay. Otherwise you may get crashes with subtitles.


Katharsis
Reply With Quote
  #11 (permalink)  
Old 17th September 2003
Moderator
BS.Player Master
 
Join Date: Jan 2003
Location: Romania
Age: 57
Posts: 5,235
Rep Power: 32
adicoto is on a distinguished road
Default

800x600x16bit per pixel makes 4,8 MB. An older card with 4 MB can display a movie a little smaler than that in resolution.
Reply With Quote
  #12 (permalink)  
Old 17th September 2003
Senior Member
BS.Player Power User
 
Join Date: Nov 2002
Posts: 125
Rep Power: 0
bond is an unknown quantity at this point
Default

thanks, but i asked about the directshow filter "overlay mixer" :)
Reply With Quote
  #13 (permalink)  
Old 17th September 2003
Moderator
BS.Player Master
 
Join Date: Jan 2003
Location: Romania
Age: 57
Posts: 5,235
Rep Power: 32
adicoto is on a distinguished road
Default

Sorry Mr Bond.
I was answering another post made by Katharsis.
About overlay mixer. I think this question can be answered only by BST itself. But, as overlay mixer is the older filter for directshow and VMR9 is the newest, and is implemented allready, don't know if this will go back.
Reply With Quote
  #14 (permalink)  
Old 17th September 2003
Senior Member
BS.Player Power User
 
Join Date: Nov 2002
Posts: 125
Rep Power: 0
bond is an unknown quantity at this point
Default

just asked for overlay mixer, because the realvideo/audio decoder only works with overlay mixer without choppy playback...
Reply With Quote
  #15 (permalink)  
Old 23rd September 2003
Junior Member
BS.player Regular User
 
Join Date: Jun 2003
Posts: 20
Rep Power: 0
Katharsis is an unknown quantity at this point
Default

Quote:
Originally Posted by adicoto
800x600x16bit per pixel makes 4,8 MB. An older card with 4 MB can display a movie a little smaler than that in resolution.
Have you tried it, dude? I was btw not referring to the movie resolution which of course affects possibility to display it in overlay.

It's obviously not just about resolution, refresh rate counts too. And I suspect desktop resolution has something to do in BSplayer only at 16bpp color depth. Why? BSplayer makes some wonderful tricks when it comes to 256 color desktop, as desktop stays in 256 colors (8bpp -- thus reducing card memory load) and BSplayer seems to play the movie in unbelievable 32bpp depth. I have never seen anything parallel to that nor I can explain sufficiently how it is done. BST rocks. I just hope this feature makes it to 1.0.
Reply With Quote
  #16 (permalink)  
Old 6th October 2003
Junior Member
BS.Player Newbie
 
Join Date: Oct 2003
Posts: 1
Rep Power: 0
Honza.Simek is an unknown quantity at this point
Default Overlay failed / Diamond fire gl1

Hi, everytime I start movie in BSP overlay failed message appears. I have Dell Precision Pentium III/450 256MB RAM with Diamond Fire gl1/32MB card.I have downloaded DirectX 9,card driver for win xp but it did not solve the problem.When i start DXdiag and try to test direct3d and directx there are some errors,because graphic card support only true color,not lower.When dxdiag tryes to test direct3d 9,it fails with not enough video memory message.I thing problem may be in fact that my card does not support directx very good. It was deweloped for NT OpenGl apps. Open gl apps and games (Quake2 (800*600/true color)) are running perfectly.Playing video in window is smooth,but when i try to resize it then picture is broken and parts of it appears out of bsp window.Please help :o)
Reply With Quote
  #17 (permalink)  
Old 21st January 2004
Junior Member
BS.player Regular User
 
Join Date: Jan 2004
Posts: 17
Rep Power: 0
Tiao Macaleh is an unknown quantity at this point
Default

how to know which type of overlay is better?
Reply With Quote
  #18 (permalink)  
Old 21st January 2004
BSPeter's Avatar
Moderator
BS.Player Master
 
Join Date: Nov 2002
Location: The Netherlands
Posts: 5,463
Rep Power: 33
BSPeter is on a distinguished road
Default

Try. It also depends on your graphics card. (See e.g. the second post in this thread by bluedan).
__________________
Help2Help (click) BSplayer: simply the best & most versatile (Build 1072 Dutch language here!)
When posting always mention your computer's OS and the version and build number(!) of BS.Player as used by you,
as well as - if applicable and especially when encountering problems - the type(s) of the file(s) mentioned in your post.
Private messages/Visitor messages are NOT for seeking personal help with respect to BS.Player! Instead use the forums!
Reply With Quote
  #19 (permalink)  
Old 7th September 2005
Junior Member
BS.Player Newbie
 
Join Date: Sep 2005
Posts: 8
Rep Power: 0
ieh4f is an unknown quantity at this point
Default

To enable overlay...

First, click start -> Run -> "dxdiag", Click "Display" tab
Make sure directdraw acceleration is enabled.

Then, make sure you have no other players running, close all preview windows, all other programs and excess windows and leave only BSplayer running. Then...

Lower your resolution first to 800*600 then to 640*480
Lower your desktop colors count to 16bit depth, if it doesn't work then to 256 colors
Lower your display refresh frequency to 60hz.

You may not only have a slow PC, you may also have a graphics card with 8mb or less. After doing one or all three above BSplay should work in overlay. And if you have only 4mb graphics card or less, well, it was time to upgrade anyway

If you use 256 colors and want to use subtitles, make sure you set in BSplayer preferences to display subtitles in overlay. Otherwise you may get crashes with subtitles.

help l tried to use overlay in 256 color, but the bs player say my graphics hardware is not capable of something and l need to update its driver. sorry but how do l check my notebook's graphics card and how do l update its driver? how to lower the display refresh frequency and disable both active desktop and overlay mode in winsdows ME?
Reply With Quote
Reply

Tags
overlay


Posting Rules


All times are GMT +1. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20