forked from cwtv/stuff
Adjust timings
This commit is contained in:
parent
0496d64321
commit
85babf1f4b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue