Home > Back-end >  Used DSPACK combination of video and audio
Used DSPACK combination of video and audio

Time:10-03

A DEMO DSPACK, a camera can record video and microphone audio to a file,
Want to change video source from a video file, how to do?
Hope to provide some information or methods,

CodePudding user response:

Do not understand your intentions, with video source to the video file?
 
Procedure TForm1. Button1Click (Sender: TObject);
The begin
If OpenDialog1. Execute then
The begin
If not FilterGraph1. Active then FilterGraph1. Active:=True;
VideoWindow1. FilterGraph:=FilterGraph1;
FilterGraph1. RenderFile (OpenDialog1. Filename);
FilterGraph1. Play;
end;
end;

CodePudding user response:

With a video file as video source, the microphone input as an audio source,
Play video source at the same time incorporating audio output to a file,

CodePudding user response:

Demos \ D6, D7 \ videocap \ videocap DPR
Is used on this Project, the video on the computer equipment of the audio device on the computer as a source, the combined output to the c: \ the capture avi
I want to change, change the Video to the Video file (such as c: \ myvide avi) this Video)
Click on Start, play the video, and audio merged into the file, the output to the c: \ the capture avi,
Stop at the Stop,
  • Related