gcc Images2Mp4.c -o Images2Mp4 -I /usr/local/ffmpeg/include/ -L /usr/local/ffmpeg/lib -lavformat -lavcodec -lswresample -lavutil -lswscale
我是把ffmpeg安装在了 /usr/local/ffmpeg下