Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Amazing...

Mircea

JCF Member

Joined: Apr 2005

Posts: 96

Mircea is doing well so far

May 31, 2005, 03:42 PM
Mircea is offline
Reply With Quote
Question Amazing...

Today, the creepiest thing happened to me;
I tried to take a screenshot of a movie. While the movie was playing, I pressed "Printscreen", then I went to Paintbrush and clicked "paste". The screenshot with windows media player and the movie inside it were pasted. Then, I selected a part of the movie (in the screenshot) and tried to move it a little to the left. Then, this... this phenomenon happened;



http://img132.echo.cx/my.php?image=amazing4hd.png



Now, maybe it's a bug, maybe it's a security measure, but I'd really like to know how can Paintbrush make the difference between the part with the movie and something else in a simple jpg or bmp file.

Maybe, it printscreens the part with the movie different. But, if I take a screenshot of this screenshot while I view it, the part with the movie acts the same. It's really creepy. Can somebody tell me what's happening?
__________________
There’s nothing better than speeding a fast car with Turbo, NOS, a noisy engine, 1000 visual parts on it and all windows open at 200 KM/h on the highway and listening to rock music at maximum volume while watching the street lights run wild.

<img src="http://img103.imageshack.us/img103/1364/nfsusonic28uk.th.jpg" border="0"/>
Sonyk

JCF Member

Joined: Feb 2005

Posts: 2,409

Sonyk is doing well so far

May 31, 2005, 03:52 PM
Sonyk is offline
Reply With Quote
It's a security measure. You can't take screenshots of video files in certain media players. To prevent copyright infringement and whatnot.
Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

May 31, 2005, 04:05 PM
Radium is offline
Reply With Quote
You can't take screenshots in Windows Media Player. Instead of the movie, you see the color #100010, which is really dark purple. If you move another window this same color over where the movie is playing, you can see through it. A security measure; given that there is such a big problem with young movie pirates print-screening feature films into MSPaint frame-by-frame and sending the collection of BMPs to friends.
__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

May 31, 2005, 06:04 PM
Monolith is offline
Reply With Quote
This isn't so much a security feature as it is a video acceleration feature called overlay. If the application such as WMP were to draw the video to the window, then the stuff on the window would then have to be drawn through the video card. With overlay, WMP can simply fill it's window with one color, and then pipe the video directly to the video card. The video card then just draws the video where the pixels are that color. One neat trick you can do with this is find something with that same special color, such as that screenshot, and hold it over a video. You should be able to see the video through the screenshot.

Usually you can disable this overlay feature by finding the video acceleration setting, and turning that all the way down.
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div>
Mircea

JCF Member

Joined: Apr 2005

Posts: 96

Mircea is doing well so far

Jun 1, 2005, 04:45 AM
Mircea is offline
Reply With Quote
OK, I found out the solution to this problem;
In Windows Media Player, set the acceleration feature lower in the "performance" tab. Than, you can take screenshots of movies with no problem.
It still remains unclear to me how can a bmp file can support such a complex image.
Anyway, thanks for your help.
__________________
There’s nothing better than speeding a fast car with Turbo, NOS, a noisy engine, 1000 visual parts on it and all windows open at 200 KM/h on the highway and listening to rock music at maximum volume while watching the street lights run wild.

<img src="http://img103.imageshack.us/img103/1364/nfsusonic28uk.th.jpg" border="0"/>
Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

Jun 1, 2005, 12:43 PM
Radium is offline
Reply With Quote
Quote:
Originally Posted by Mircea
It still remains unclear to me how can a bmp file can support such a complex image.
It's not a complex image. The BMP sees it as dark purple. If you have the video running behind it, it will show through. That's an effect of the media player showing the clip on the purple, not the BMP file.
__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Odin

Banned

Joined: Dec 2003

Posts: 3,776

Odin is doing well so far

Jun 1, 2005, 05:04 PM
Odin is offline
Reply With Quote
Quote:
Originally Posted by Mircea
It still remains unclear to me how can a bmp file can support such a complex image.
Pixels are pixels. The only reason you didn't see the picture before is because the video was piped directly over the purple by the video card. Now that you disabled video accleration, the program has to redraw the screen every frame (which takes more work for the processor, by the way), and since the video is drawn directly on the screen, you can now take pictures of it.
Torkell

Stealth Admin

Joined: Jul 2004

Posts: 2,153

Torkell is a forum legendTorkell is a forum legendTorkell is a forum legend

Jun 2, 2005, 02:11 AM
Torkell is offline
Reply With Quote
Okay... what happened is that the movie was played in an overlay. This is where the graphics card draws the movie on top of whatever windows sends to it, like how old TV decoders with passthrough connections work. So WMP paints the movie area with some colour, and then tells the graphics card to paint the movie over that colour. The movie is then sent seperately to the card.

When you take a screenshot with Windows, Windows can't 'see' the overlay. So you got the dark purple or whatever instead. You could still see the movie because the graphics card had just been told to overlay that colour. When you selected a bit to move it, you were only selecting what paint knew about it. Paint never at any time had any of the movie in that picture.

The reason a white hole was left behind is probably because white was the background colour at the time. That is perfectly normal behaviour for paint.

The answer is that to take a screenshot of something using overlays, you have to either use a special program that can read the overlay layer back from the graphics card, or you have to disable overlays (usually by disabling video acceleration).
__________________
-- Torkell



Radium

JCF Éminence Grise

Joined: Jul 2002

Posts: 12,275

Radium is an asset to this forum

Jun 2, 2005, 12:52 PM
Radium is offline
Reply With Quote
Quote:
Originally Posted by Odin
Pixels are pixels. The only reason you didn't see the picture before is because the video was piped directly over the purple by the video card. Now that you disabled video accleration, the program has to redraw the screen every frame (which takes more work for the processor, by the way), and since the video is drawn directly on the screen, you can now take pictures of it.
When I first saw this I thought it was Tublear's post, and it was so wierd seeing grammar and words like "piped" and "video acceleration". Then I saw it was Odin. Curse your hot girl avatars, both of you.
__________________
GENERATION 22: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

<i>"This picture shows me that the gray bird man is just a bully and picks on smaller birds. Just because he has no friends and takes it out on others smaller than him to look good. I can see in the parrats eyes that it does however have a understanding of the gray bird man and is upset about getting cut."</i> - Speeza on cartoon birds.
Odin

Banned

Joined: Dec 2003

Posts: 3,776

Odin is doing well so far

Jun 2, 2005, 01:15 PM
Odin is offline
Reply With Quote
Quote:
Originally Posted by Radium
When I first saw this I thought it was Tublear's post, and it was so wierd seeing grammar and words like "piped" and "video acceleration". Then I saw it was Odin. Curse your hot girl avatars, both of you.
++Laetitia Casta
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 09:21 AM.