Skip to content

Commit

Permalink
Include more compatible audio codecs
Browse files Browse the repository at this point in the history
  • Loading branch information
MinmoTech committed Sep 26, 2022
1 parent c256235 commit 441dab1
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 @@ -219,7 +219,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"]:
if stream["codec_name"] in ["aac", "mp3", "opus", "flac", "eac3", "ac3", "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 441dab1

Please sign in to comment.