On 04/10/2019 03:33 PM, Carl Eugen Hoyos wrote: > 2019-04-10 20:00 GMT+02:00, Yufei He <[email protected]>: > >> 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. > 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. > _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
