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
 ImageEnVideoView select cam & compression via code
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Sybren

32 Posts

Posted - Feb 13 2013 :  04:38:04  Show Profile  Reply
Hi,

I'm working with ImageEnVideoView to record video+audio from a webcam.
I have two webcams in my system, but I always want the same webcam to use for recording. My starting point is the Demo application 'VideoCapture1'. I'm using 4.3.0, on both XP as W7 systems.

Question 1: How can I select the source and the compression (avoid GB size recorded video) via code, rather than to go through the two dialogs for source and compression first?

Question 2: I also tried by setting ImageEnView.IO.DShowParams.RenderAudio to true but this doesn't save the audio signal when recording a movie (using the 'DirectShow4' example). Here I can set the compression settings via code. What am I doing wrong that I can't save audio with DirectShow?

fab

1310 Posts

Posted - Feb 16 2013 :  10:09:27  Show Profile  Reply
Hi,
please try DirectShow examples instead of VideoCapture. VideoCapture examples uses the old VfW video capture API, while DirectShow the WDM, having more options.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: