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

"zhilizhao(赵志立)" quinkblack at foxmail.com
Tue Jan 17 04:57:58 EET 2023



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

> 
>>>> 
>>>> Fix trac issue http://trac.ffmpeg.org/ticket/4427.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list