一从撼、iOS11支持
硬解流程
二距淫、具體處理
視頻文件的“格式描述”(CMFormatDescriptionRef)可通過以下兩種方法創(chuàng)建:?
CMVideoFormatDescriptionCreate?
CMVideoFormatDescriptionCreateFromHEVCParameterSets?
CMVideoFormatDescriptionCreateFromH264ParameterSets?
前者接受extradata弧械,后者接受參數(shù)集(Parameter Sets)铆农。
三丢习、格式兼容
參考2014 wwdc的介紹,增加Elementary Stream格式(Annex-B)的轉(zhuǎn)換支持锁施。
hvcC格式處理
extradata size check?
NAL size 3 to 4 check
annex-b格式處理
參14496-15陪踩,轉(zhuǎn)hvcC?
ff_isom_write_hvcc