oneliners/bash/ffmpeg_convert_to_x264_720p.sh

5 lines
121 B
Bash
Raw Permalink Normal View History

2022-11-09 00:59:45 +01:00
#!/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