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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Sep 27 09:21:00 CEST 2013


Huang Soho <soho123.2012 <at> gmail.com> writes:

> 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?

Could you elaborate on what the issue is?
If the timestamp field in RTP is 32bit (I did not verify), 
it obviously will overflow from time to time.

Carl Eugen



More information about the ffmpeg-user mailing list