[FFmpeg-user] '-show_frames' is broken
Mark Filipak
markfilipak.imdb at gmail.com
Wed Apr 3 11:09:13 EEST 2024
On 03/04/2024 04.05, Paul B Mahol wrote:
> On Wed, Apr 3, 2024 at 6:10 AM Mark Filipak <markfilipak.imdb at gmail.com>
> wrote:
>
>> Dear Developers,
>>
>> Thank you for adding 'pkt_dts' and 'pict_type' to '-show_frames'. Those
>> will make things easier.
>> Now, could you fix it?
>>
>> '-show_frames' shows pts < dts.
>>
>> frames.frame.133975.pts=503957216 <-+ These are actually 3 frames
>> frames.frame.133975.pkt_dts=503968477 <-+ apart in the wrong direction
>> frames.frame.133975.pict_type="I"
>>
>> '-show_frames' shows pts < dts for ALL frames (all frames are in open
>> GOPs).
>>
>> =====
>>
>> '-f framecrc' is correct I think -- I can't confirm because I can't parse
>> M2TS.
>>
>> dts pts
>> 0, 503945955, 503957216, 3753, 640646, 0x90f222e3, S=1, 1
>>
>> =====
>>
>> And '-vf showinfo' is now finding 6 DTS discountinuities instead of 165.
>> (But I don't believe there are any DTS discountinuities.)
>>
>> =====
>>
>> Is the problem with 'show_frames' and '-vf showinfo's due to something
>> more internal, more basic?
>> Could it explain why I'm having so much trouble with cutting & joining?
>>
>> I reckon the issue is with open GOPs. I hope that's all.
>>
>> Regards,
>> Mark.
>>
>> PS: You know, when you change/fix something, it would be nice to tell us.
>> That way we could all work
>> together to test/validate the code and track bugs.
>>
>
> Sure, in mean time we will consume thin air to stay alive.
I don't know what you're responding to, Paul. Can you clarify?
More information about the ffmpeg-user
mailing list