Specify "file:" protocol to accept files with colons in the name

This commit is contained in:
pta 2024-03-10 00:42:56 -05:00
parent 1001d6d8a0
commit d2f886f857
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ rma() {
FPSOPT=""; FPS=""
fi
N=$( basename "$1" | sed -e 's/.webm$//' -e 's/.mkv$//' -e "s/$/${FPS}/").webm
ffmpeg -an -i "$1" -c copy $FPSOPT /tmp/"$N"
ffmpeg -an -i "file:$1" -c copy $FPSOPT /tmp/"$N"
}
# Converts youtube stream url into the chat-only url
ytchat() {