mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2025-04-02 07:44:54 +03:00
fix speaker record
This commit is contained in:
parent
1cd925a0bb
commit
471f5a595d
@ -240,7 +240,7 @@ impl Ffmpeg {
|
|||||||
.to_string();
|
.to_string();
|
||||||
let mut ffmpeg_command = FfmpegCommand::new();
|
let mut ffmpeg_command = FfmpegCommand::new();
|
||||||
ffmpeg_command.format("dshow")
|
ffmpeg_command.format("dshow")
|
||||||
.input(format!("audio={}", &self.audio_input_id))
|
.input(format!("audio={}", &self.audio_output_id))
|
||||||
.format("ogg");
|
.format("ogg");
|
||||||
// Remove metadate
|
// Remove metadate
|
||||||
ffmpeg_command.args(["-map_metadata", "-1"]);
|
ffmpeg_command.args(["-map_metadata", "-1"]);
|
||||||
@ -628,7 +628,7 @@ impl Ffmpeg {
|
|||||||
.to_string();
|
.to_string();
|
||||||
let mut ffmpeg_command = FfmpegCommand::new();
|
let mut ffmpeg_command = FfmpegCommand::new();
|
||||||
ffmpeg_command.format("dshow")
|
ffmpeg_command.format("dshow")
|
||||||
.input(format!("audio={}", &self.audio_input_id))
|
.input(format!("audio=\"{}\"", &self.audio_output_id))
|
||||||
.format("ogg");
|
.format("ogg");
|
||||||
// Remove metadate
|
// Remove metadate
|
||||||
ffmpeg_command.args(["-map_metadata", "-1"]);
|
ffmpeg_command.args(["-map_metadata", "-1"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user