[FFmpeg-user] wrong extradata on decoding a mxf xavc long gop file.
yhe at matrox.com
Wed Apr 10 23:16:58 EEST 2019
On 04/10/2019 03:33 PM, Carl Eugen Hoyos wrote:
> 2019-04-10 20:00 GMT+02:00, Yufei He <yhe at matrox.com>:
>> On decoding the file this link, avctx->extradata is wrong
>> data, there is no valid sps and pps.
>> Actually, mxf files does not need extradata. normally
>> sps and pps are stored in every IDR frame.
> This is not true for all mxf files...
Yes, it's only in the first frame for Panasonics mxf avcintra files.
>> My decoder expects right extradata. Yes, I can add
>> protection to check if it's valid.
>> I debugged with h264dec.c, it can not find valid sps pps either.
> But why should it abort if the extradata is not valid but unneeded?
> Feel free to send a patch that detects in the mxf demuxer if
> extradata has to be inserted or not.
> See also ticket #4820.
More information about the ffmpeg-user