media: Add ffmpeg codec support

Change-Id: I28663fba959facfeeeae077fb7ca19f60a1bd785