Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: process hls_time value too small sence

2020-10-19 Thread Steven Liu
Steven Liu 于2020年8月18日周二 上午10:44写道: > > The target duration will be a negative value when there are > some b frames after prevous frame, the pts after current packet > is large than the pts of current packet, so the target duration > will compute as 0.04 - 0.08, then the value of the targe

[FFmpeg-devel] [PATCH] avformat/hlsenc: process hls_time value too small sence

2020-08-17 Thread Steven Liu
The target duration will be a negative value when there are some b frames after prevous frame, the pts after current packet is large than the pts of current packet, so the target duration will compute as 0.04 - 0.08, then the value of the target duration will be -0.04. so hls muxer shou