From 67009e4cd998f3437e3effc2e24f795976902376 Mon Sep 17 00:00:00 2001 From: zeus Date: Wed, 9 Nov 2022 00:59:45 +0100 Subject: [PATCH] ffmpeg convert to 720p with x264 --- bash/ffmpeg_convert_to_x264_720p.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bash/ffmpeg_convert_to_x264_720p.sh diff --git a/bash/ffmpeg_convert_to_x264_720p.sh b/bash/ffmpeg_convert_to_x264_720p.sh new file mode 100755 index 0000000..1c531e6 --- /dev/null +++ b/bash/ffmpeg_convert_to_x264_720p.sh @@ -0,0 +1,4 @@ +#!/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