[Libav-user] Find out RTSP/H264 stream framerate or PTS

Sergio Basurco sergio.b at coherentsynchro.com
Fri Sep 22 15:40:11 EEST 2017


Hi,

Please correct me if I'm wrong: In order to display a decoded stream, I 
need either the exact framerate, or the PTS for the decoded frames.

I'm only using avcodec, and my own RTSP client and H264 parser. What are 
the values that need to be set for me to find either framerate or PTS?

I think framerate may not be provided, as it's not forced by the H264 
standard. But the PTS should be available. How can I make sure the 
decoder sets these?

-- 

Saludos / Best regards,

*Sergio Basurco*
Coherent Synchro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170922/7589d382/attachment.html>


More information about the Libav-user mailing list