clarify last change

This commit is contained in:
Lucy 2025-03-07 16:50:29 +00:00
parent 9b5769747a
commit d2353f822f

View file

@ -81,6 +81,7 @@ def convert(filepath):
ffmpeg_cmd.extend(["-c:v", "libx264", "-b:v", "1M"])
# Add audio options based on codec and available encoders
# We dont need to transcode Audio if its already in opus or vorbis format.
if audio_codec_info in ["opus", "vorbis"]:
ffmpeg_cmd.extend(["-c:a", "copy"])
elif "libvorbis" in available_encoders: