sync-camera: clarify output path in info message.
This commit is contained in:
parent
7768df55a6
commit
e132462e5c
@ -64,7 +64,7 @@ do
|
|||||||
OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}"
|
OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}"
|
||||||
if ! [ -f "$OUTPUT_PATH" ]
|
if ! [ -f "$OUTPUT_PATH" ]
|
||||||
then
|
then
|
||||||
echo "Copying ${INPUT_FILE} to ${OUTPUT_PATH} ..."
|
echo "Copying ${INPUT_FILE} to ${OUTPUT_PATH::-4}.jpg ..."
|
||||||
cp "$INPUT_FILE" "${OUTPUT_PATH::-4}.jpg"
|
cp "$INPUT_FILE" "${OUTPUT_PATH::-4}.jpg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ do
|
|||||||
OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}"
|
OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}"
|
||||||
if ! [ -f "$OUTPUT_PATH" ]
|
if ! [ -f "$OUTPUT_PATH" ]
|
||||||
then
|
then
|
||||||
echo "Converting ${INPUT_FILE} to MP4 at ${OUTPUT_PATH} ..."
|
echo "Converting ${INPUT_FILE} to MP4 at ${OUTPUT_PATH::-4}.mp4 ..."
|
||||||
ffmpeg -loglevel fatal -nostdin -i "$INPUT_FILE" "${OUTPUT_PATH::-4}.mp4"
|
ffmpeg -loglevel fatal -nostdin -i "$INPUT_FILE" "${OUTPUT_PATH::-4}.mp4"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user