Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
fender75
Posted - Jan 28 2019 : 17:33:07 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
1 L A T E S T R E P L I E S (Newest First)
xequte
Posted - Jan 28 2019 : 21:24:19 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;