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)

by kaoutsis, 12 years ago

Attachment: screen1.png added

a screenshot of vlc with the black rectangle

comment:1 by korli, 12 years ago

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

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

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 by axeld, 12 years ago

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 :-)

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

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 :)

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

Replying to diver:

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

Then the problem occurs only with the overlay technique?

comment:9 by kaoutsis, 11 years ago

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 by anevilyak, 11 years ago

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 by anevilyak, 11 years ago

Oops, disregard, I missed the earlier comments.

comment:12 by scottmc, 11 years ago

Seems this should be closed as invalid.

comment:13 by scottmc, 10 years ago

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