Skip to content

Instantly share code, notes, and snippets.

View JoshuaDoes's full-sized avatar
⌨️
Writing code and working retail

JoshuaDoes

⌨️
Writing code and working retail
View GitHub Profile
#!/bin/bash
ffmpeg -i "$1" -vcodec libx264 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -pix_fmt yuv420p -strict experimental -r 30 -t 2:20 -acodec aac -vb 1024k -minrate 1024k -maxrate 1024k -bufsize 1024k -ar 44100 -ac 2 "$2"

Keybase proof

I hereby claim:

  • I am joshuadoes on github.
  • I am joshuadoes (https://keybase.io/joshuadoes) on keybase.
  • I have a public key ASDZ8CVNq4471zSWL05wKJAHvvLxc7aS8Q2VUX4kiX6xaAo

To claim this, I am signing this object: