Skip to content

Commit

Permalink
🐛 Fix reencode of videos with multiple audio streams
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed Dec 18, 2023
1 parent e28888a commit 8ec3eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/transcribee_worker/reencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def reencode(
):
def work(_):
pipeline = ffmpeg.input(input_path)
streams = [pipeline.audio]
streams = [pipeline["a:0"]] # use only first audio stream
if include_video:
streams.append(pipeline.video)

Expand Down

0 comments on commit 8ec3eb7

Please sign in to comment.