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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Save To Mpeg File

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
andyhill Posted - Sep 28 2015 : 16:43:36
Just starting out with IEVision, how do I save the video stream to a file in mpeg format ?


  if bCapture.Caption = 'Capture' then begin
    fVideoInput.ShowModal;
    bCapture.Caption:= 'Stop';
    fVideoInput.Connect;
    // show info
    iView.IO.DShowParams.GetCurrentVideoFormat(w, h, f);
    Label4.Caption := Format('Capturing at %dx%d %s', [w, h, f]);
    // start capture
    iView.IO.DShowParams.FileOutput:= 'D:\test.mpg';
    iView.IO.DShowParams.Run;
  end else begin
    bCapture.Caption:= 'Capture';
    fVideoInput.Disconnect;
  end;

...

procedure TfMain.iViewDShowNewFrame(Sender: TObject);
begin
  iView.IO.DShowParams.GetSample(iView.IEBitmap);
  iView.Update;
end;



Andy
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Sep 30 2015 : 03:34:34
Hi Andy

I have not tested any of these, but a number come up on Google:

https://www.google.com/search?q=mpeg+directshow+filter


Also, please note that our DirectShow support is ImageEn rather than IEVision (to avoid confusing others reading this thread).


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
andyhill Posted - Sep 30 2015 : 02:07:34
Nigel, I am asking for help.

Please advise URL for download filters -or- steps to get mpeg recording up and running using your IEVision.

Andy
xequte Posted - Sep 29 2015 : 03:36:07
Hi Andy

This is not something that you can do in code. ImageEn cannot modify your DirectShow configuration, only use it as configured. IOW, you would need to install the DirectShow filter manually.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
andyhill Posted - Sep 29 2015 : 03:08:53
OK, but no where on this forum does it show how, please show in code how to accomplish this - thanks.

Andy
xequte Posted - Sep 28 2015 : 23:48:10
Hi Andy

To output DirectShow in MPEG format you would need to have an MPEG Directshow filter installed.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com