[Libav-user] don't know how to get RTCP packet

Chih-Chiang Lu chihchianglu at gmail.com
Tue Nov 13 03:01:40 CET 2012


Hi,

I'm using ffmpeg to retrieve the video and data from camera.
This camera sends video through rtsp and data through onvif.

I use "avformat_open_input" -> "avformat_find_stream_info" -> and get 2
streams from camera, and then I just use "av_read_frame" to do what I want
to do to these 2 streams.
Everything works as I expect.

However, I would also like to retrieve the RTCP packet in order to get the
ntp timestamp.
I have no idea how to do that.

Could you share some light?

Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121112/e2b99ccc/attachment.html>


More information about the Libav-user mailing list