[Libav-user] av_read_frame truncates SEI

Nicolas Derouineau nicolas.derouineau at vitec.com
Wed Feb 25 16:15:11 CET 2015


Hello,
I have created Raw h264 bitstream with customed SEI NALU located before Coded Slice NALU. I would like to be able to get my SEI messages through the standard libav API.

So far I'm doing the following:

do{
    av_free_packet(&packet)
    err = av_read_frame(pFormatCtx,&packet)
}while(packet.stream !=  !videoStream)

But I'm getting the following message:

[h264 @ 0x2181080] SEI type 54 size 544 truncated at 68

What would be the correct way to access these SEI ? (ie  SEI located just before coded slices)

Best Regards,

Nicolas DEROUINEAU    


More information about the Libav-user mailing list