Skip to content

Instantly share code, notes, and snippets.

@tingleshao
Created November 14, 2016 16:01
Show Gist options
  • Save tingleshao/cae2a764c60e3d002c68bb7f779489c4 to your computer and use it in GitHub Desktop.
Save tingleshao/cae2a764c60e3d002c68bb7f779489c4 to your computer and use it in GitHub Desktop.
ffmpeg compress with certain bitrate and resolution
ffmpeg -i jellyfish-120-mbps-4k-uhd-h264.mkv -c:v libx264 -profile:v main -vf scale=1920:1080 -b:v 50000k -an -tune fastdecode -coder 0 -flags -loop -g 30 -bf 0 -t 10 jellyfish-hd-50mbps_main_nosound_fast_short.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment