build: add libffmpeg_static=yes and Makefile.ffmpeg