Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- INPUT_FILE=$1
- ffmpeg -i "$INPUT_FILE" -b:a 192K output.mp3
- MOE=$(curl -F "reqtype=fileupload" -F "[email protected]" https://catbox.moe/user/api.php)
- MOE=${MOE#https://}
- MOE=${MOE////%2F}
- ffmpeg -i "$INPUT_FILE" -b:v 0 -crf 30 -pass 1 -an -f webm -y /dev/null
- ffmpeg -i "$INPUT_FILE" -b:v 0 -crf 30 -pass 2 -an "${INPUT_FILE%.webm}[sound=${MOE}].webm"
Add Comment
Please, Sign In to add comment