|
@@ -171,7 +171,7 @@ class getVideo:
|
|
|
if gg_duration_total and gg_duration_total != 'None': # 判断是否需要指定视频时长
|
|
|
new_video_path = FFmpeg.video_ggduration(new_video_path, video_path_url, pw_random_id, gg_duration_total)
|
|
|
width, height = FFmpeg.get_w_h_size(new_video_path)
|
|
|
- if width < 1920:
|
|
|
+ if width < height:
|
|
|
new_video_path = FFmpeg.update_video_h_w(new_video_path, video_path_url, pw_random_id)
|
|
|
time.sleep(1)
|
|
|
if os.path.isfile(new_video_path):
|