Merge "transcoding: add API for determininng transcoding format"