[FFmpeg-devel] [PATCH] ffprobe: use pkt->dts to compute interval ts when pts is missing

Stefano Sabatini stefasab at gmail.com
Tue Jan 17 01:41:41 EET 2023


On date Monday 2023-01-16 11:01:51 +0800, "zhilizhao(赵志立)" wrote:
> 
> > On Jan 1, 2023, at 03:26, Stefano Sabatini <stefasab at gmail.com> wrote:
> > 
> > On date Wednesday 2022-07-13 02:02:17 +0200, Stefano Sabatini wrote:
> >> For some samples the pkt->pts is always missing, use the pkt->dts
> >> instead.
> 
> If some pkt->pts is missing but isn’t always missing, isn’t it mixed
> the use of pts and dts? I don’t have a particular case in mind yet.

In the ticket sample, it was missing all the PTSs, so the only time
reference was provided by the DTSs (note that this only affects the
-read_intervals option). I have no better ideas.

> >> 
> >> Fix trac issue http://trac.ffmpeg.org/ticket/4427.


More information about the ffmpeg-devel mailing list