media: Add ffmpeg codec support