Explorar o código

fix wrong end times (duration instead of target).. how long has this been bugged?

David %!s(int64=9) %!d(string=hai) anos
pai
achega
7a6d1005f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      back/tasks.py

+ 1 - 1
back/tasks.py

@@ -165,7 +165,7 @@ def crop_video(in_fname,start_time,end_time,censuras,out_fname):
 
     process += [
                 '-ss', str(start_time),
-                '-t', str(end_time),
+                '-to', str(end_time),
                 '-c:v', 'copy',
                 '-movflags', '+faststart',
                 '-f', 'mp4', out_fname