[FFmpeg-user] wrong extradata on decoding a mxf xavc long gop file.

Yufei He yhe at matrox.com
Wed Apr 10 21:00:03 EEST 2019


Hi

https://drive.google.com/open?id=1Rugz-tKCNDViN-zxJ9pQyKqSi_Eos7QD

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.

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.

Regards.

Yufei.




<https://drive.google.com/open?id=1Rugz-tKCNDViN-zxJ9pQyKqSi_Eos7QD>


<https://drive.google.com/open?id=1Rugz-tKCNDViN-zxJ9pQyKqSi_Eos7QD>


More information about the ffmpeg-user mailing list