ffmpeg3.3新版本AVStream的封裝流參數由codec替換codecpar(解碼)

ffmpeg新版本中(封裝流)AVStream的codec參數要被codecpar參數所替代,這樣替代我們要注意什麼,爲什麼要替代,我們先來看下ffmpeg的代碼。 代碼分析和新參數優勢 typedef struct AVStream { #if FF_API_LAVF_AVCTX /** * @deprecated use the codecpar struct instead */ attri
相關文章
相關標籤/搜索