use ffmpeg instead of libav + add support for 64bit ffmpeg