Skip to content

Commit

Permalink
no shit
Browse files Browse the repository at this point in the history
  • Loading branch information
xAmarnath committed May 5, 2024
1 parent c74e601 commit 8f18377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/custdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def generate_ffmpeg_command(mp4_file_path, subs):

for i in range(len(subs)):
ffmpeg_command.extend(['-map', f'{i + 1}:s:0'])
ffmpeg_command.extend(['-metadata:s:s:%d' % i, 'language=' + subs[i]["label"]])
ffmpeg_command.extend(['-metadata:s:s:%d' % i, 'language="' + subs[i]["label"]+'"'])

ffmpeg_command.extend(['-c', 'copy', '"{}"'.format(output_file_path)])

Expand Down

0 comments on commit 8f18377

Please sign in to comment.