Skip to content

Instantly share code, notes, and snippets.

View sanjitbakshi's full-sized avatar
😀

Sanjit Bakshi sanjitbakshi

😀
View GitHub Profile
### Keybase proof
I hereby claim:
* I am sanjitbakshi on github.
* I am sanjit (https://keybase.io/sanjit) on keybase.
* I have a public key ASCoTr_yunse5Sg6MkJdUUNp0jfcBzTTnfMztxEnvCjmPgo
To claim this, I am signing this object:
ffmpeg -i in.mp4 -vf scale=3840x2160,setdar=16:9 -r 30 -c:v libx265 -b:v 15M -pix_fmt yuv420p -c:a aac -b:a 192K out.mp4
@sanjitbakshi
sanjitbakshi / gist:4a6da463074f0ad56cb58f4f873c4736
Created November 10, 2017 20:19
home-brew install for ffmpeg (h.265)
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-libass --with-libquvi --with-libvorbis --with-libvpx --with-opus --with-x265
@sanjitbakshi
sanjitbakshi / keybase.md
Created October 31, 2017 13:55
Keybase Proof

Keybase proof

I hereby claim:

  • I am sanjitbakshi on github.
  • I am sanjit (https://keybase.io/sanjit) on keybase.
  • I have a public key ASCRM4WHuP8kgxfi4XitspCULHN4yDEEukjkS8gYLZRPXQo

To claim this, I am signing this object:

@sanjitbakshi
sanjitbakshi / gist:72cd6e46d77b5ccba19e057a9e3231bd
Created June 16, 2017 17:44
ffmpeg -qscale to attempt match output quality of the source file
ffmpeg -i [file in] -qscale 0 [file out]