3 ms·
The ffmpeg command will default produce one that can only be decoded on Chrome. You should specify a codec supported by most browsers (`-c:v libx264`).
by alixanderwang 6y ago
The ffmpeg command will default produce one that can only be decoded on Chrome. You should specify a codec supported by most browsers (`-c:v libx264`).
- forgotmypw17 6y agoThank you very much for posting that. I've been trying to figure out how to do that for a while.
- jazzyjackson 6y agoI've also learned that -pix_fmt yuv420p is necessary, changes the colorspace from RGB to YUV The full git gist (not mine): https://gist.github.com/ingramchen/e2af352bf8b40bb88890fba4f47eccd0 https://gist.github.com/ingramchen/e2af352bf8b40bb88890fba4f...
- bertman 6y agoIf ffmpeg has been built with libx264 support, than this is the default encoder for mp4 video.