소스 검색

shorten sub duration

ming 3 년 전
부모
커밋
7319be62cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      OpenshotService/openshot_video_generator.py

+ 1 - 1
OpenshotService/openshot_video_generator.py

@@ -374,7 +374,7 @@ def parse_script(file_path,gt_list):
             new_dic = {}
             new_dic['index'] = new_idx
             new_idx+=1
-            ind_duration = duration * sub_dic['time_ratio']
+            ind_duration = duration * sub_dic['time_ratio']*0.8
             new_dic['start'] = dic['start'] + accumulated_duration
             accumulated_duration += ind_duration