4 lines
205 B
Plaintext
4 lines
205 B
Plaintext
|
#!/bin/sh
|
||
|
output_file="$(echo "$1" | sed 's,.mp4,.bars.mp4,')"
|
||
|
ffmpeg -i "$1" -vf "scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,setsar=1" -c:a copy "$output_file"
|