Compare commits
No commits in common. "e1ba233753beaf85522a3bfa15264b8ce357049d" and "66b4328a3033b445f64efcba122afbd4cb3d3e2a" have entirely different histories.
e1ba233753
...
66b4328a30
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
#export SDL_VIDEODRIVER=wayland
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
export XDG_SESSION_DESKTOP=sway
|
||||
exec sway
|
@ -88,12 +88,8 @@ do
|
||||
OUTPUT_PATH="$OUTPUT_DIR/${INPUT_FILE##*/}"
|
||||
if ! [ -f "$OUTPUT_PATH" ]
|
||||
then
|
||||
echo "Copying $INPUT_FILE to ${OUTPUT_PATH} ..."
|
||||
cp "${INPUT_FILE}" "${OUTPUT_PATH}"
|
||||
echo "Converting ${INPUT_FILE} to MP4 at ${OUTPUT_PATH::-4}.mp4 ..."
|
||||
ffmpeg -loglevel fatal -nostdin -i "$OUTPUT_PATH" "${OUTPUT_PATH::-4}.mp4"
|
||||
echo "Removing temporary file $OUTPUT_PATH ..."
|
||||
rm "$OUTPUT_PATH"
|
||||
ffmpeg -loglevel fatal -nostdin -i "$INPUT_FILE" "${OUTPUT_PATH::-4}.mp4"
|
||||
fi
|
||||
|
||||
if [ $REMOVE_FILES -eq 1 ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user