3
0
Fork 0

Adjust timings

This commit is contained in:
L3D 2025-02-26 00:20:11 +01:00
parent 0496d64321
commit 85babf1f4b
No known key found for this signature in database
GPG Key ID: F3949BA55195BC7B
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ END_OFFSET="${END_OFFSET:-1}"
EXT_INTRO="${SELECTED_INTRO##*.}"
if [[ "$EXT_INTRO" == "png" || "$EXT_INTRO" == "jpg" || "$EXT_INTRO" == "jpeg" ]]; then
INTRO_VIDEO="$WORKDIR/intro_converted.mkv"
convert_image_to_video "$SELECTED_INTRO" "$INTRO_VIDEO" 4 1 1
convert_image_to_video "$SELECTED_INTRO" "$INTRO_VIDEO" 4 0.5 0
SELECTED_INTRO="$INTRO_VIDEO"
fi
@ -90,7 +90,7 @@ fi
EXT_OUTRO="${SELECTED_OUTRO##*.}"
if [[ "$EXT_OUTRO" == "png" || "$EXT_OUTRO" == "jpg" || "$EXT_OUTRO" == "jpeg" ]]; then
OUTRO_VIDEO="$WORKDIR/outro_converted.mkv"
convert_image_to_video "$SELECTED_OUTRO" "$OUTRO_VIDEO" 6 1 1
convert_image_to_video "$SELECTED_OUTRO" "$OUTRO_VIDEO" 6 0 1
SELECTED_OUTRO="$OUTRO_VIDEO"
fi