MediaSDK icon indicating copy to clipboard operation
MediaSDK copied to clipboard

Ignore av1 reserved units

Open zhangyichix opened this issue 2 years ago • 4 comments

Some av1 videos may contain reserved units. We should ignore it instead of returning an error.

Reference source: https://aomediacodec.github.io/av1-spec/av1-spec.pdf Section 6.2.2: Reserved units are for future use and shall be ignored by AV1 decoder.

zhangyichix avatar Jul 20 '22 05:07 zhangyichix

Could you please share what issue is hit if no this fix? Thanks.

wangyan-intel avatar Jul 20 '22 05:07 wangyan-intel

The issue I found while doing android cts. Some test videos contains reserved obu type, and the MSDK returned UMC::UMC_ERR_NOT_IMPLEMENTED. According to the av1-spec, we should ignore it and continue to process.

zhangyichix avatar Jul 20 '22 06:07 zhangyichix

@zhangyichix I cannot find section 6.2.6 from your spec URL. Do you mean section 6.3? @ChunjuanLiu Could you please review it?

wangyan-intel avatar Jul 20 '22 06:07 wangyan-intel

@wangyan-intel sorry, it is 6.2.2. OBU header semantics.

zhangyichix avatar Jul 20 '22 07:07 zhangyichix