An A/V processing pipeline for iOS and Mac OSX using FFmpeg