diff --git a/go.py b/go.py index 7e9e849..40ee633 100644 --- a/go.py +++ b/go.py @@ -75,8 +75,8 @@ webp_path_or_dir = sys.argv[9] # 第一个参数 # if not is_null_or_empty(motoring_id): # webp_path_or_dir = find_first_file("motoring", motoring_id) convert_webp_2_mp4.p_crf = crf -if is_null_or_empty(p_fps): - convert_webp_2_mp4.p_fps = p_fps +if not is_null_or_empty(p_fps): + convert_webp_2_mp4.p_fps = int(p_fps) convert_webp_2_mp4.p_enable_sharpening = p_enable_sharpening convert_webp_2_mp4.p_bitrate = p_bitrate convert_webp_2_mp4.p_enable_denoising = p_enable_denoising