[FFmpeg-user] rtp timestamp overflow when output h.264 live stream in long time

Huang Soho soho123.2012 at gmail.com
Fri Sep 27 04:24:31 CEST 2013

Hi All,

When I try to use ffserver + ffmpeg to output a live h.264 rtp stream, I
got the problem.
the timestamp in rtp header may get overflow.
since the pkt.pts, pkt.dts in ffmpeg are stored in 64bits length
timestamp field in RTP header is stored in 32bits length
it may get overflow when long time test.
does any one have idea about how to fix the issue?

More information about the ffmpeg-user mailing list