[Libav-user] Support RTP extension header data

Konstantin Gerasimov kg at madappgang.com
Thu Jul 2 12:40:35 CEST 2015

Hello. I want to extract RTP extension header data while reading ffmpeg packets using int av_read_frame(AVFormatContext *s, AVPacket *pkt); 
But seems that ffmpeg skips RTP extension header data while creating AVPacket data (https://github.com/FFmpeg/FFmpeg/blob/7206b94fb893c63b187bcdfe26422b4e026a3ea0/libavformat/rtpdec.c#L643 ). ffmpeg makes AVPackets from RTPPacket data. So probably there is a way to get current RTPPacket after or before calling av_read_frame? ... or probably is there another way?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150702/08276c52/attachment.html>

More information about the Libav-user mailing list