ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Play video with imageenView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

fender75

10 Posts

Posted - Jan 28 2019 :  17:33:07  Show Profile  Reply
Hi,

I'd like to play video with imageEnView and have a small window with the same video. Just like a monitor
I can play video now with ImageEnView, I used the VideoPlayer example, but I don't know how can I "duplicate" that video to appear , for example, in a TImage at the same time

could you help me please?

thanks so much

xequte

38611 Posts

Posted - Jan 28 2019 :  21:24:19  Show Profile  Reply
Hi

You can just change the DirectShow New Frame event as follows:

procedure Tfmain.ImageEnView1DShowNewFrame(Sender: TObject);
begin
  with ImageEnView1 do
  begin
    IO.DShowParams.GetSample(IEBitmap);
    Update;
  end;

  Image1.Picture.Bitmap.Assign( ImageEnView1.IEBitmap.VclBitmap );
end;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: