<font size=2 face="sans-serif">Dear Team,</font>
<br>
<br><font size=2 face="sans-serif"> How
to build this on the visual studio 2015 environment.</font>
<br>
<br><font size=2 face="sans-serif">With Regards</font>
<br><font size=2 face="sans-serif">Pratap Reddy Pulugoru<br>
Tata Consultancy Services<br>
Ph:- +91 80 67245109<br>
Cell:- +919741622115<br>
Mailto: pratap.pulugoru@tcs.com<br>
Website: </font><a href=http://www.tcs.com/><font size=2 face="sans-serif">http://www.tcs.com</font></a><font size=2 face="sans-serif"><br>
____________________________________________<br>
Experience certainty. IT Services<br>
Business Solutions<br>
Consulting<br>
____________________________________________<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">"Bob Kirnum"
<bkirnum@gmail.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">"This list is
about using libavcodec, libavformat, libavutil, libavdevice and libavfilter."
<libav-user@ffmpeg.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">09/07/2018 05:57 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: [Libav-user]
Issues seeking MKV file.</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">"Libav-user"
<libav-user-bounces@ffmpeg.org></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=#ff8141><b>"External email. Open with Caution"</b></font>
<br><font size=3>Apologies for top-posting, hopefully this reply is better.</font>
<br>
<br><font size=3>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.</font>
<br>
<br><font size=3><<</font>
<br><font size=3>./ffprobe ./test.mkv</font>
<br><font size=3>ffprobe version N-85966-g78aa938 Copyright (c) 2007-2017
the FFmpeg developers</font>
<br><font size=3> built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)</font>
<br><font size=3> 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</font>
<br><font size=3> libavutil 55. 62.100 / 55.
62.100</font>
<br><font size=3> libavcodec 57. 95.100 / 57.
95.100</font>
<br><font size=3> libavformat 57. 72.101 / 57. 72.101</font>
<br><font size=3> libavdevice 57. 7.100 / 57.
7.100</font>
<br><font size=3> libavfilter 6. 88.100 /
6. 88.100</font>
<br><font size=3> libswscale 4. 7.101 /
4. 7.101</font>
<br><font size=3> libswresample 2. 8.100 /
2. 8.100</font>
<br><font size=3> libpostproc 54. 6.100 / 54.
6.100</font>
<br><font size=3>Input #0, matroska,webm, from './test.mkv':</font>
<br><font size=3> Metadata:</font>
<br><font size=3> COMPATIBLE_BRANDS: isomiso2avc1mp41</font>
<br><font size=3> MAJOR_BRAND : isom</font>
<br><font size=3> MINOR_VERSION : 512</font>
<br><font size=3> ENCODER :
Lavf57.41.100</font>
<br><font size=3> Duration: 00:00:40.04, start: 0.000000, bitrate:
1093 kb/s</font>
<br><font size=3> 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)</font>
<br><font size=3> Metadata:</font>
<br><font size=3> HANDLER_NAME : VideoHandler</font>
<br><font size=3> ENCODER
: Lavc57.48.101 libvpx</font>
<br><font size=3> DURATION
: 00:00:40.040000000</font>
<br><font size=3> Stream #0:1: Audio: amr_nb (8[0][0][0] /
0x0038), 8000 Hz, mono, flt, 12 kb/s (default)</font>
<br><font size=3> Metadata:</font>
<br><font size=3> HANDLER_NAME : SoundHandler</font>
<br><font size=3> DURATION
: 00:00:39.160000000</font>
<br><font size=3>>></font>
<br>
<br><font size=3>The debug output added.</font>
<br>
<br><font size=3><<</font>
<br><font size=3>fmt_ctx(0x4239960)->streams[0](nb_index_entries 1 index_entries(pos
1022 timestamp 0))</font>
<br><font size=3>fmt_ctx(0x4239960)->streams[1](nb_index_entries 1 index_entries(pos
1022 timestamp 0))</font>
<br><font size=3>>></font>
<br>
<br><font size=3>The debug.</font>
<br>
<br><font size=3><<</font>
<br><font size=3> /* bind a decoder to each input stream */</font>
<br><font size=3> for (i = 0; i < fmt_ctx->nb_streams;
i++) {</font>
<br><font size=3> InputStream *ist = &ifile->streams[i];</font>
<br><font size=3> AVStream *stream = fmt_ctx->streams[i];</font>
<br><font size=3> AVCodec *codec;</font>
<br>
<br><font size=3> ist->st = stream;</font>
<br>
<br><font size=3> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</font>
<br><font size=3> if (fmt_ctx->streams[i]->nb_index_entries
> 0)</font>
<br><font size=3> {</font>
<br><font size=3> int j;</font>
<br><font size=3> for (j = 0;
j < fmt_ctx->streams[i]->nb_index_entries; j++)</font>
<br><font size=3> {</font>
<br><font size=3>
av_log(NULL, AV_LOG_INFO, "fmt_ctx(%p)->streams[%d](nb_index_entries
%d index_entries(pos %jd timestamp %jd))\n"</font>
<br><font size=3>
, fmt_ctx</font>
<br><font size=3>
, i</font>
<br><font size=3>
, fmt_ctx->streams[i]->nb_index_entries</font>
<br><font size=3>
, fmt_ctx->streams[i]->index_entries[j].pos</font>
<br><font size=3>
, fmt_ctx->streams[i]->index_entries[j].timestamp</font>
<br><font size=3>
);</font>
<br><font size=3> }</font>
<br><font size=3> }</font>
<br><font size=3> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</font>
<br>
<br><font size=3> if (stream->codecpar->codec_id
== AV_CODEC_ID_PROBE) {</font>
<br><font size=3>>></font>
<br><tt><font size=2>_______________________________________________<br>
Libav-user mailing list<br>
Libav-user@ffmpeg.org<br>
</font></tt><a href="http://ffmpeg.org/mailman/listinfo/libav-user"><tt><font size=2>http://ffmpeg.org/mailman/listinfo/libav-user</font></tt></a><tt><font size=2><br>
</font></tt>
<br><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>
<p></p>