Micrufun 2 år sedan
förälder
incheckning
37ae64932b
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      files/tasks.py

+ 2 - 0
files/tasks.py

@@ -880,6 +880,8 @@ def video_with_voices(user_or_session, friendly_token=None, voicesUid=None):
     # will not be included in the output file.
     # will not be included in the output file.
     # The video stream is still copied over using -c:v copy,
     # The video stream is still copied over using -c:v copy,
     # and the combined audio track is created using the amix filter as before.
     # and the combined audio track is created using the amix filter as before.
+    # Note that if the input video file has multiple audio tracks,
+    # the -an option will remove all audio tracks from the output file.
     cmd.append("-an")
     cmd.append("-an")
     cmd.append(result_file_name)
     cmd.append(result_file_name)