Hello,
I have a custom webrtc application, in which I use ffmpeg to encode video to 
RTP, transport the packets via webrtc, and decode via ffmpeg.
>From the RTCP sender reports generated by ffmpeg, I can also obtain an 
>(unfortunately seemingly inaccurate) mapping from rtp packet timestamps to ntp 
>timestamps. However, after assembling the AVPackets, or decoding into AVFrame, 
>i fail to find the relationship between the AVFrame timestamp and the RTP 
>packet timestamps that made up this frame.

Is there a way to determine what the ntp timestamp for an AVFrame ist according 
to its constituent packets? Or is the only way to relate the two to check what 
is the timestamp of the last packet going into the decoder before a frame is 
received? I would expect this solution to be brittle, since i dont necessarily 
know if the decoder might be buffering frames internally, depending on settings.

Best,
Rasmus
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to