windows-capture icon indicating copy to clipboard operation
windows-capture copied to clipboard

【HELP】How to record screen including system audio

Open QC2168 opened this issue 11 months ago • 4 comments

I looked at past issues and he didn't support it. Does he support audio now?

Or is there any way I can add audio to my recorded video?

I saw the send_audio_buffer method, but I don't know how to use it

QC2168 avatar Dec 30 '24 12:12 QC2168

use cpal crate

mycrl avatar Dec 30 '24 15:12 mycrl

I saw cpal, but I don't know how to combine it with window_capture. Can you give me an idea or hint? @mycrl

QC2168 avatar Dec 31 '24 03:12 QC2168

How to set AudioSettingsBuilder?

AudioSettingsBuilder::default().disabled(false)

after I set it to disabled(false), I called stop function and couldn't close the recording properly

QC2168 avatar Jan 05 '25 09:01 QC2168

Now I have obtained the audio buffer, but I am not sure how to fill in timespan. Is there any way to write it directly into the buffer when I finish recording?

QC2168 avatar Jan 05 '25 09:01 QC2168

AudioSettingsBuilder::default() should work

NiiightmareXD avatar May 21 '25 21:05 NiiightmareXD

AudioSettingsBuilder::default() should work

It wasn't working at the time.

QC2168 avatar May 22 '25 09:05 QC2168