Opened 12 years ago

Closed 10 years ago

#1575 closed enhancement (invalid)

Screenshot of vlc in overlay mode (while playing a video) shows a black rectangle

Reported by: kaoutsis Owned by: axeld
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

a) open vlc to play an internet tv station stream. b) while vlc is playing the video, press "print screen" key to take a screenshot, c) open the screenshot-image with ShowImage, vlc window has a black rectangle.

more: start vlc again, open a video, or let vlc plays the previous video; move litle by litle the ShowImage window (with contains the screenshot with the black vlc window, in front of vlc, surprise! in the black vlc window of the ShowImage, you see the video that vlc plays in the background.

note: vlc doesn't have this behavior on hrev5, so i guess it is not vlc bug.

Attachments (1)

screen1.png (151.3 KB) - added by kaoutsis 12 years ago.
a screenshot of vlc with the black rectangle

Download all attachments as: .zip

Change History (14)

Changed 12 years ago by kaoutsis

Attachment: screen1.png added

a screenshot of vlc with the black rectangle

comment:1 Changed 12 years ago by korli

This is a feature of overlay : http://en.wikipedia.org/wiki/Video_overlay I wouldn't consider this as a bug though.

comment:2 in reply to:  1 Changed 12 years ago by kaoutsis

Replying to korli:

This is a feature of overlay : http://en.wikipedia.org/wiki/Video_overlay I wouldn't consider this as a bug though.

Thanks for the link.

first i must make a correction (examine more closely the ticket): hrev5 has exactly the same behavior. the window in the screenshot is not black but gray (so the note on the description is not correct), i still don't know how this came out to my mind:)

So i guess no screenshot is possible?

comment:3 Changed 12 years ago by axeld

Component: - GeneralServers/app_server
Type: bugenhancement

It's possible - the app_server could copy the overlay into the screenshot - like it already does for the hardware cursor. I'll change this to an extension :-)

comment:4 in reply to:  3 Changed 12 years ago by jackburton

Replying to axeld:

It's possible - the app_server could copy the overlay into the screenshot - like it already does for the hardware cursor.

Does it ? But we don't even have an hardware cursor yet :)

comment:8 in reply to:  6 Changed 11 years ago by kaoutsis

Replying to diver:

http://www.pinc-software.de/images/haiku_vlc.jpg

Then the problem occurs only with the overlay technique?

comment:9 Changed 11 years ago by kaoutsis

Summary: Screenshot of vlc (while playing a video) shows a black rectangleScreenshot of vlc in overlay mode (while playing a video) shows a black rectangle

comment:10 Changed 11 years ago by anevilyak

That's normal, since the screenshot is taken from the frame buffer, while the actual bitmap data that's shown in overlay mode never actually hits that (the bitmaps being drawn/scaled into that are reside directly in the graphics card's VRAM). It'd take quite some hacks to get that to take a screenshot properly in such a case.

comment:11 Changed 11 years ago by anevilyak

Oops, disregard, I missed the earlier comments.

comment:12 Changed 10 years ago by scottmc

Seems this should be closed as invalid.

comment:13 Changed 10 years ago by scottmc

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.