Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Aug 28, 2023
1 parent bcfde8a commit 758c1b5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 2xscale.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
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}"

0 comments on commit 758c1b5

Please sign in to comment.