clarify last change
This commit is contained in:
parent
9b5769747a
commit
d2353f822f
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ def convert(filepath):
|
||||||
ffmpeg_cmd.extend(["-c:v", "libx264", "-b:v", "1M"])
|
ffmpeg_cmd.extend(["-c:v", "libx264", "-b:v", "1M"])
|
||||||
|
|
||||||
# Add audio options based on codec and available encoders
|
# 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"]:
|
if audio_codec_info in ["opus", "vorbis"]:
|
||||||
ffmpeg_cmd.extend(["-c:a", "copy"])
|
ffmpeg_cmd.extend(["-c:a", "copy"])
|
||||||
elif "libvorbis" in available_encoders:
|
elif "libvorbis" in available_encoders:
|
||||||
|
|
Loading…
Add table
Reference in a new issue