Skip to content
Snippets Groups Projects
Verified Commit 7335c416 authored by Vladimir Malinovskiy's avatar Vladimir Malinovskiy
Browse files

chore(patch[audio]): remove the removal of audio copying

parent fc925115
No related branches found
No related tags found
No related merge requests found
diff --git a/packages/ffmpeg/src/ffmpeg-default-transcoding-profile.ts b/packages/ffmpeg/src/ffmpeg-default-transcoding-profile.ts
index 0d3538512..2ca983f30 100644
--- a/packages/ffmpeg/src/ffmpeg-default-transcoding-profile.ts
+++ b/packages/ffmpeg/src/ffmpeg-default-transcoding-profile.ts
@@ -41,13 +41,9 @@ const defaultX264LiveOptionsBuilder: EncoderOptionsBuilder = (options: EncoderOp
}
}
-const defaultAACOptionsBuilder: EncoderOptionsBuilder = async ({ input, streamNum, canCopyAudio }) => {
+const defaultAACOptionsBuilder: EncoderOptionsBuilder = async ({ input, streamNum }) => {
const probe = await ffprobePromise(input)
- if (canCopyAudio && await canDoQuickAudioTranscode(input, probe)) {
- return { copy: true, outputOptions: [ ] }
- }
-
const parsedAudio = await getAudioStream(input, probe)
// We try to reduce the ceiling bitrate by making rough matches of bitrates
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment