capture bitmap from playing video (TMediaPlayer) on Firemonkey

  

I want to capture bitmap from playing video (TMediaPlayer) on Firemonkey
but i get only black image.

I use this:
https://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RadStudio_XE5_Update/FireMonkey/Delphi/MediaPlayerHD/
and adding this:

procedure TForm240.Button1Click(Sender: TObject);
begin
MediaPlayerControl1.MakeScreenshot.SaveToFile(‘d:nic.bmp’);
end;

Can someone help me?

Comments are closed.