mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
also latest ffmpeg is broken
This commit is contained in:
@@ -117,7 +117,10 @@ encode() {
|
||||
echo "export VIDEO_ENCODER=\"$VIDEO_ENCODER\"" >> "$ENCODE_FILE"
|
||||
|
||||
if [[ "$CROP" == "true" ]]; then
|
||||
VIDEO_CROP="-vf \"$(get_crop)\""
|
||||
CROP_VALUE="$(get_crop)"
|
||||
# crop needs to be defined
|
||||
test "$CROP_VALUE" == '' && { echo 'Failed to get crop' ; exit 1 ; }
|
||||
VIDEO_CROP="-vf \"$CROP_VALUE\""
|
||||
echo "export VIDEO_CROP=\"$VIDEO_CROP\"" >> "$ENCODE_FILE"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user