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

Stefano Sabatini stefasab at gmail.com
Wed Jan 25 02:19:44 EET 2023


On date Tuesday 2023-01-17 10:57:58 +0800, "zhilizhao(赵志立)" wrote:
> > On Jan 17, 2023, at 07:41, Stefano Sabatini <stefasab at gmail.com> wrote:
> > 
> > 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.
> 
> Looks like there is no better choices, patch LGTM.

Applied.


More information about the ffmpeg-devel mailing list