audio-capture

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

喜欢而已 提交于 2019-12-19 04:22:49
问题 The following code is working fine (some checking and code eliminated) at 44100 depth 2 which seems to be the default. Since this interface is usable, but not documented well, anyone know of how to change the default quality? audioCaptureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio]; captureSession = [[AVCaptureSession alloc] init]; audioInput = [AVCaptureDeviceInput deviceInputWithDevice:audioCaptureDevice error:&error]; [captureSession addInput:audioInput];

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

寵の児 提交于 2019-12-19 04:22:37
问题 The following code is working fine (some checking and code eliminated) at 44100 depth 2 which seems to be the default. Since this interface is usable, but not documented well, anyone know of how to change the default quality? audioCaptureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio]; captureSession = [[AVCaptureSession alloc] init]; audioInput = [AVCaptureDeviceInput deviceInputWithDevice:audioCaptureDevice error:&error]; [captureSession addInput:audioInput];

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

拟墨画扇 提交于 2019-12-19 04:22:08
问题 The following code is working fine (some checking and code eliminated) at 44100 depth 2 which seems to be the default. Since this interface is usable, but not documented well, anyone know of how to change the default quality? audioCaptureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio]; captureSession = [[AVCaptureSession alloc] init]; audioInput = [AVCaptureDeviceInput deviceInputWithDevice:audioCaptureDevice error:&error]; [captureSession addInput:audioInput];

ffmpeg DirectShow capture 2 pins

和自甴很熟 提交于 2019-12-11 09:48:20
问题 Here is ffmpeg DirectShow options DirectShow video device options Pin "Capture" pixel_format=yuyv422 min s=720x480 fps=59.9402 max s=720x480 fps=59.9402 pixel_format=yuyv422 min s=720x480 fps=29.97 max s=720x480 fps=29.97 pixel_format=yuyv422 min s=720x576 fps=50 max s=720x576 fps=50 pixel_format=yuyv422 min s=720x576 fps=25 max s=720x576 fps=25 pixel_format=yuyv422 min s=640x480 fps=59.9402 max s=640x480 fps=59.9402 pixel_format=yuyv422 min s=1920x1080 fps=29.97 max s=1920x1080 fps=29.97

DirectShow - Capture Webcam While Viewing It?

空扰寡人 提交于 2019-12-11 03:27:57
问题 I am trying to make a webcam application in c# that allows users to record video. I have been using DirectShow.Net to preview the webcam and to take snapshots. But need to be able to capture video and audio while previewing the webcam at the same time. One thing I tried was using capturing multiple snapshots and converting them to a video using ffmpeg, however this obviously does not capture audio. Any ideas on how I could accomplish this? 回答1: Things you should be aware of: Capture device is

Recording/Capture Currently Playing Audio

扶醉桌前 提交于 2019-12-02 15:06:56
问题 i want to capture/record currently playback audio in UWP or Windows Phone 8.1 any, same thing is done by "MEE dj" UWP app in its app, that app is ability to capture currently playing audio in the app. Anyone know about that share your answer please. 回答1: how to set input nodes playback music instead of mic Windows.Media.Audio namespace contains AudioDeviceInputNode , AudioDeviceOutputNode , AudioFileInputNode , AudioFileOutputNode and so on. Mic for input is AudioDeviceInputNode , but for

Recording/Capture Currently Playing Audio

旧街凉风 提交于 2019-12-02 08:27:43
i want to capture/record currently playback audio in UWP or Windows Phone 8.1 any, same thing is done by "MEE dj" UWP app in its app, that app is ability to capture currently playing audio in the app. Anyone know about that share your answer please. how to set input nodes playback music instead of mic Windows.Media.Audio namespace contains AudioDeviceInputNode , AudioDeviceOutputNode , AudioFileInputNode , AudioFileOutputNode and so on. Mic for input is AudioDeviceInputNode , but for play back music file you need to use AudioFileInputNode . OKay but how can i capture that audio and save it to