Vladimir Eremeev wrote:
> 
> 
> 
> Vladimir Eremeev wrote:
>> 
>> 
>> 
>> Paul Kelly-3 wrote:
>>> 
>>>>> My impression is that PTS in the stream is somehow reflects the real
>>>>> time
>>>>> and is reset to 0 once a day.
>>> 
>>> Why do you not fix the timestamps before passing them to
>>> av_write_frame()? 
>>> Perhaps you could check for the point when it resets to 0, and then add
>>> an 
>>> offset to every timestamp that occurs after that.
>>> 
>> 
> I think, the better solution would be set PTS to 0 at the beginning of
> recording. 
> However, I still cannot find if FFmpeg allows this.
> 

The answer to the question in the subject line was pretty obvious.
That value (8,593,930,000) overfills 33 bits devoted to the PTS field in the
mpeg-ts.
It doesn't matter wheter PTS reflects real time. When the PTS value goes
beyond 33 bits it drops to 0.

Since that, I cannot increase PTS.

-- 
View this message in context: 
http://www.nabble.com/WHY--Why-frames-with-PTS-%3E-8%2C589%2C930%2C000-get-stuck-in-the-input-buffer-%21-tp17664697p18013687.html
Sent from the libav-users mailing list archive at Nabble.com.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to