[FFmpeg-user] Getting the RTP packet header

XUE MINGQIANG xuemingqiang at gmail.com
Thu Feb 28 08:15:55 CET 2013


Hi all,

I am looking for a way of using ffmpeg to receive a RTSP stream, then
read the RTP header of each received packet, and also extract the
frames from the stream.

By following the Dranger's tutorial, I know how to do the second task:
grabbing the AVPackets and forming AVFrame.

The problem is how can I use ffmpeg to read the corresponding RTP
header of AVPackets?

Thank you.

Regards,
Mingqiang


More information about the ffmpeg-user mailing list