Skip to content

Commit

Permalink
Convert ac3
Browse files Browse the repository at this point in the history
  • Loading branch information
MinmoTech committed Nov 17, 2022
1 parent 83bb55c commit b8639f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migaku-player-converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def convert_to_migaku_video(input_file):
print(f"video codec is {stream['codec_name']}, will {'' if keep_video else 'not '}be kept")

if stream["codec_type"] == "audio" and stream["index"] == audio_index:
if stream["codec_name"] in ["aac", "mp3", "opus", "flac", "ac3", "vorbis"]:
if stream["codec_name"] in ["aac", "mp3", "opus", "flac", "vorbis"]:
keep_audio = True
print(f"audio codec is {stream['codec_name']}, will {'' if keep_audio else 'not '}be kept")
if stream["codec_type"] == "subtitle":
Expand Down

0 comments on commit b8639f2

Please sign in to comment.