Removed unnecessary mkdir command

This commit is contained in:
Anon 2022-10-02 15:36:12 -07:00
parent d6abe83e1d
commit 93bf15a5de
2 changed files with 0 additions and 2 deletions

View File

@ -44,7 +44,6 @@ echo "$OUTPUT_PATH"
echo "$PICKED_FRAME" echo "$PICKED_FRAME"
mkdir -p "$(dirname "$OUTPUT_PATH")" mkdir -p "$(dirname "$OUTPUT_PATH")"
mkdir -p "$(dirname "$PNG_PATH")"
mpv "$INPUT_PATH" --sid=1 "--start=${PICKED_FRAME}" --frames=1 -o "$PNG_PATH" mpv "$INPUT_PATH" --sid=1 "--start=${PICKED_FRAME}" --frames=1 -o "$PNG_PATH"
convert -quality 95 "$PNG_PATH" "$OUTPUT_PATH" convert -quality 95 "$PNG_PATH" "$OUTPUT_PATH"

View File

@ -44,7 +44,6 @@ echo "$OUTPUT_PATH"
echo "$PICKED_FRAME" echo "$PICKED_FRAME"
mkdir -p "$(dirname "$OUTPUT_PATH")" mkdir -p "$(dirname "$OUTPUT_PATH")"
mkdir -p "$(dirname "$PNG_PATH")"
mpv "$INPUT_PATH" "--start=${PICKED_FRAME}" --frames=1 -o "$PNG_PATH" mpv "$INPUT_PATH" "--start=${PICKED_FRAME}" --frames=1 -o "$PNG_PATH"
convert -quality 95 "$PNG_PATH" "$OUTPUT_PATH" convert -quality 95 "$PNG_PATH" "$OUTPUT_PATH"