As I Solve

Bulletproof solutions for the savvy developer.

Month: April 2014

  • FFMPEG encoding settings for web video

    Choice settings for web video in 3 formats (fallbacks for various browsers) MP4 ffmpeg -i [path-to-video] -vcodec libx264 -preset slow -profile main -crf 25 -acodec aac -ab 64k [new-video-name].mp4 Adjust the crf and ab settings to suit your quality/size needs. crf is inversely related to the quality (0 is best). WebM ffmpeg -i [path-to-video] -codec:v […]