<div dir="ltr">Apologies for top-posting, hopefully this reply is better.<div><br></div><div>I had a newer version of the FFmpeg source on a CentOS 7 image (we are currently using libavformat 56.25.101).  Added some debug to ffprobe.c and it still shows the nb_index_entries as empty after the call to avformat_open_input.  MKVToolNix v26.0.0 indicates there are 10 entries in the Cues section, each corresponding to a key frame as reported by ffprobe.</div><div><br></div><div><<</div><div><div>./ffprobe ./test.mkv</div><div>ffprobe version N-85966-g78aa938 Copyright (c) 2007-2017 the FFmpeg developers</div><div>  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)</div><div>  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags='-L/root/ffmpeg_build/lib -ldl' --bindir=/root/bin --pkg-config-flags=--static --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265</div><div>  libavutil      55. 62.100 / 55. 62.100</div><div>  libavcodec     57. 95.100 / 57. 95.100</div><div>  libavformat    57. 72.101 / 57. 72.101</div><div>  libavdevice    57.  7.100 / 57.  7.100</div><div>  libavfilter     6. 88.100 /  6. 88.100</div><div>  libswscale      4.  7.101 /  4.  7.101</div><div>  libswresample   2.  8.100 /  2.  8.100</div><div>  libpostproc    54.  6.100 / 54.  6.100</div><div>Input #0, matroska,webm, from './test.mkv':</div><div>  Metadata:</div><div>    COMPATIBLE_BRANDS: isomiso2avc1mp41</div><div>    MAJOR_BRAND     : isom</div><div>    MINOR_VERSION   : 512</div><div>    ENCODER         : Lavf57.41.100</div><div>  Duration: 00:00:40.04, start: 0.000000, bitrate: 1093 kb/s</div><div>    Stream #0:0: Video: vp8, yuv420p(progressive), 1280x690, SAR 1:1 DAR 128:69, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)</div><div>    Metadata:</div><div>      HANDLER_NAME    : VideoHandler</div><div>      ENCODER         : Lavc57.48.101 libvpx</div><div>      DURATION        : 00:00:40.040000000</div><div>    Stream #0:1: Audio: amr_nb (8[0][0][0] / 0x0038), 8000 Hz, mono, flt, 12 kb/s (default)</div><div>    Metadata:</div><div>      HANDLER_NAME    : SoundHandler</div><div>      DURATION        : 00:00:39.160000000</div><div>>></div><div><br></div><div>The debug output added.</div><div><br></div><div><<</div><div>fmt_ctx(0x4239960)->streams[0](nb_index_entries 1 index_entries(pos 1022 timestamp 0))</div><div>fmt_ctx(0x4239960)->streams[1](nb_index_entries 1 index_entries(pos 1022 timestamp 0))</div></div><div>>></div><div><br></div><div>The debug.</div><div><br></div><div><<</div><div>    /* bind a decoder to each input stream */</div><div>    for (i = 0; i < fmt_ctx->nb_streams; i++) {</div><div>        InputStream *ist = &ifile->streams[i];</div><div>        AVStream *stream = fmt_ctx->streams[i];</div><div>        AVCodec *codec;</div><div><br></div><div>        ist->st = stream;</div><div><br></div><div>        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div><div>        if (fmt_ctx->streams[i]->nb_index_entries > 0)</div><div>        {</div><div>            int j;</div><div>            for (j = 0; j < fmt_ctx->streams[i]->nb_index_entries; j++)</div><div>            {</div><div>                av_log(NULL, AV_LOG_INFO, "fmt_ctx(%p)->streams[%d](nb_index_entries %d index_entries(pos %jd timestamp %jd))\n"</div><div>                    , fmt_ctx</div><div>                    , i</div><div>                    , fmt_ctx->streams[i]->nb_index_entries</div><div>                    , fmt_ctx->streams[i]->index_entries[j].pos</div><div>                    , fmt_ctx->streams[i]->index_entries[j].timestamp</div><div>                );</div><div>            }</div><div>        }</div><div>        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div><div><br></div><div>        if (stream->codecpar->codec_id == AV_CODEC_ID_PROBE) {</div><div>>></div><div><br></div></div>