[FFmpeg-trac] #9523(avcodec:open): segment_times splits at I-frames that are not keyframes
FFmpeg
trac at avcodec.org
Fri Nov 26 01:19:46 EET 2021
#9523: segment_times splits at I-frames that are not keyframes
------------------------------------+-----------------------------------
Reporter: TurboLed | Owner: (none)
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by TurboLed):
Please disregard my previous comment, libx264 is not used with -c copy.
I have managed to fix locally by commenting this section in h264_parser.c:
// heuristic to detect non marked keyframes
if (p->ps.sps->ref_frame_count <= 1 && p->ps.pps->ref_count[0] <= 1 &&
s->pict_type == AV_PICTURE_TYPE_I)
s->key_frame = 1;
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9523#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list