Ticket #1575 (new enhancement)

Opened 11 months ago

Last modified 3 months ago

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 development
Cc: Blocked By:
Platform: All Blocking:

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 r5, so i guess it is not vlc bug.

Attachments

screen1.png (151.3 kB) - added by kaoutsis 11 months ago.
a screenshot of vlc with the black rectangle

Change History

Changed 11 months ago by kaoutsis

a screenshot of vlc with the black rectangle

follow-up: ↓ 2   Changed 11 months 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.

in reply to: ↑ 1   Changed 11 months 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): r5 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?

follow-up: ↓ 4   Changed 11 months ago by axeld

  • type changed from bug to enhancement
  • component changed from - General to Servers/app_server

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   Changed 11 months 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 :)

  Changed 3 months ago by kaoutsis

in reply to: ↑ 6   Changed 3 months ago by kaoutsis

Replying to diver:

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

Then the problem occurs only with the overlay technique?

  Changed 3 months ago by kaoutsis

  • summary changed from Screenshot of vlc (while playing a video) shows a black rectangle to Screenshot of vlc in overlay mode (while playing a video) shows a black rectangle

  Changed 3 months 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.

  Changed 3 months ago by anevilyak

Oops, disregard, I missed the earlier comments.

Note: See TracTickets for help on using tickets.