Which pixel format for web mp4 video?

2019-02-23 07:56发布

I have to create video in mp4 format, and it seems that I can encode it with different pixel formats like yuv420p, yuv422p, yuvj422p. Which one I should use to maximize compatibility with most browsers/players?

1条回答
干净又极端
2楼-- · 2019-02-23 08:57

yuv420p

You can use -pix_fmt yuv420p or -vf format=yuv420p to make sure your output uses this pixel format (assuming you're outputting H.264 video).

查看更多
登录 后发表回答