Robert Krüger <[email protected]> added the comment:

because I output the value of sei_recovery_frame_cnt for every slice in the file
and it is always -1. 

Looking at h264.h:
    /**
     * recovery_frame_cnt from SEI message
     *
     * Set to -1 if no recovery point SEI message found or to number of frames
     * before playback synchronizes. Frames having recovery point are key
     * frames.
     */
    int sei_recovery_frame_cnt;

if I interprete the comment correctly, key_frame should be set if a recovery
point SEI were there.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2482>
________________________________________________

Reply via email to