Remove parameter -async 1 (ks-crop)

This commit is contained in:
q3aql 2023-03-11 12:25:21 +01:00
parent d25a15babb
commit 2ce46a33a4

View File

@ -2,12 +2,12 @@
############################################################### ###############################################################
# ks-crop (ks-tools) - Crop or change aspect ratio of a video # # ks-crop (ks-tools) - Crop or change aspect ratio of a video #
# Date: 13-02-2023 # # Date: 11-03-2023 #
# Author: q3aql # # Author: q3aql #
# Contact: q3aql@duck.com # # Contact: q3aql@duck.com #
############################################################### ###############################################################
VERSION="8.4-dev" VERSION="8.4-dev"
M_DATE="130223" M_DATE="110323"
# Detect version ffmpeg for old releases # Detect version ffmpeg for old releases
ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1) ffmpeg_version=$(ffmpeg -version 2>&1 | grep version | head -1 | cut -d " " -f 3 | cut -d "." -f 1)
@ -175,7 +175,8 @@ p_ffmpeg="ffmpeg -i"
p_ffmpeg_patched="-max_muxing_queue_size 9999" p_ffmpeg_patched="-max_muxing_queue_size 9999"
# f_conversion="-vsync 1 -async 1" # Deprecated method # f_conversion="-vsync 1 -async 1" # Deprecated method
f_conversion="-${video_sync} cfr" f_conversion="-${video_sync} cfr"
f_conversion_crop="-${video_sync} cfr -async 1" #f_conversion_crop="-${video_sync} cfr -async 1"
f_conversion_crop="-${video_sync} cfr"
# Check if video input uses H265 (HEVC) # Check if video input uses H265 (HEVC)
codec_h265=$(${p_ffmpeg} "${2}" 2>&1 | grep Stream | tr -s " " | grep "Video:" | grep "h265") codec_h265=$(${p_ffmpeg} "${2}" 2>&1 | grep Stream | tr -s " " | grep "Video:" | grep "h265")
codec_hevc=$(${p_ffmpeg} "${2}" 2>&1 | grep Stream | tr -s " " | grep "Video:" | grep "hevc") codec_hevc=$(${p_ffmpeg} "${2}" 2>&1 | grep Stream | tr -s " " | grep "Video:" | grep "hevc")