Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Jul 8, 2024
1 parent f2f53db commit 50e8eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2xscale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
src="${1}"
dst="${1}.2x.mp4"

ffmpeg -i "${src}" -bsf:a aac_adtstoasc -acodec copy -vcodec libx264 -g 15 -bf 2 -vf "scale=iw*2:ih*2:flags=neighbor" -vb 15000000 -preset superfast -pix_fmt yuv420p -y -f mp4 "${dst}"
ffmpeg -i "${src}" -acodec copy -vcodec libx264 -g 15 -bf 2 -vf "scale=iw*2:ih*2:flags=neighbor" -vb 15000000 -preset superfast -g 15 -bf 2 -crf 8 -pix_fmt yuv422p -y -f mov "${dst}"

0 comments on commit 50e8eb5

Please sign in to comment.