Skip to content

Commit

Permalink
🐛 Fix reecode 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 5e2848b commit fd3c5a2
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 @@ -20,7 +20,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 fd3c5a2

Please sign in to comment.