Open Imu-D-sama opened 4 months ago
So I tried #8 and added the ffmpeg args to increase the Volume but that doesn't seem to do anything at all
if (includeAudio) { const audioStream: AudioStream = new AudioStream(mediaUdp); const opus = new prism.opus.Encoder({ channels: 2, rate: 48000, frameSize: 960 }); command .output(StreamOutput(opus).url, { end: false }) .noVideo() .audioChannels(2) .audioFrequency(48000) .audioFilters('volume=2.0') .format('s16le'); opus.pipe(audioStream, { end: false }); }
maybe try .audioFilter instead of .audioFilters
Also check out the normalization filter volumedetect https://trac.ffmpeg.org/wiki/AudioVolume
So I tried #8 and added the ffmpeg args to increase the Volume but that doesn't seem to do anything at all