add opencv cmake support and ffmpeg2opencv demo