diff --git a/render-chunks.sh b/render-chunks.sh index 829784f..5089e5a 100755 --- a/render-chunks.sh +++ b/render-chunks.sh @@ -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