Hacker News new | past | comments | ask | show | jobs | submit login

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`).



Thank you very much for posting that. I've been trying to figure out how to do that for a while.


I'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/e2af352bf8b40bb88890fba4f...


If ffmpeg has been built with libx264 support, than this is the default encoder for mp4 video.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: