This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Description: Convert all mkv files in a directory to mp4 using ffmpeg and vaapi | |
# set -x | |
convert_file() { | |
input_filename="$1" | |
output_filename="${input_filename%.mkv}.mp4" | |
python3 -c 'header=" BEGIN converting '"$input_filename "'"; print(f"{header:*^80}")' |
OlderNewer