[FFmpeg-trac] #9523(avfilter:new): segment_times splits at I-frames that are not keyframes

FFmpeg trac at avcodec.org
Mon Nov 22 05:34:34 EET 2021


#9523: segment_times splits at I-frames that are not keyframes
------------------------------------+------------------------------------
             Reporter:  TurboLed    |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Comment (by TurboLed):

 Replying to [comment:1 Balling]:
 > You mean this: #8820?

 Not quite. #8820 is about ffprobe skipping I-frames when printing, which
 might be the correct behavior, depending on the definition of what is a
 keyframe.

 My sample video has I-frames that are not IDR. When splitting at those
 I-frames, the second part of the split cannot be played properly (the
 first few frames are not playing). To fix this I have to manually specify
 a segment_times that is close to an actual keyframe (IDR), and ffprobe
 reports those same IDR as keyframe=1.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9523#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list