Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Show the VLDSCapture SelectVideoDevice dialog at runtime?
12-09-2016, 12:50 AM
Post: #1
Show the VLDSCapture SelectVideoDevice dialog at runtime?
The Select Video Device, and Select Video Source dialogs work great in the Design tab.

When the application is running, cdVideoCapture and cdVideoCapturePin are the only available dialogs.

Is there a way to have these dialogs available when the application is running?

Alternatively, is there a control/property/function that returns the available video devices (you know, I'm going to ask for audio devices next) that I could put in a list for the user to select?

Current Code:
Code:
procedure TForm1.btnShowDialogClick(Sender: TObject);
var
  myVideoDialogs : VLDSCapture.TVLDSCaptureDialogs;
begin
  myVideoDialogs := VLDSCapture1.AvailableVideoDialogs;
  VLDSCapture1.ShowVideoDialog(VLDSCapture.TVLDSCaptureDialog.cdVideoCapture)​;
end;


Delphi, XE5, VCL 6.0.0.283 Labs....

Thanks!!!
Find all posts by this user
Quote this message in a reply
12-10-2016, 02:49 AM
Post: #2
RE: Show the VLDSCapture SelectVideoDevice dialog at runtime?
Just a follow up:

I am able to get the select video device dialog to show using VLCapture, but not VLDSCapture.

Interesting artificat is that the dialog box closes, then re-opens after selecting the device, with more options listed.

...AND, it only works when running without debugging. If I run with debugging, the application fails.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)