Removed unnecessary mkdir command
This commit is contained in:
parent
d6abe83e1d
commit
93bf15a5de
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Reference in New Issue
Block a user