oneliners/bash/ffmpeg_convert_to_x264_720p.sh

5 lines
121 B
Bash
Executable File

#!/bin/bash
infile=$1
outfile=$2
ffmpeg -i $1 -map 0 -c:v libx264 -crf 18 -vf format=yuv420p,scale=1280x720 -c:a copy $2