build: version check for both libav and ffmpeg. AVCodecID. etc.