参考资料:https://trac.ffmpeg.org/ticket/7325
最下面有写:
Needs zlib, please understand that only current FFmpeg git head is supported here and that this is a bug tracker, not a support forum, you can get help with build issues on the user mailing list.
需要ffmpeg 编译的时候要 --enable-zlib,而且还要安装 libpng。