<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I am running Ubuntu 16.04.4 LTS.  I also get GStreamer Core
      Library version 1.15.0.1 when I do a --gst-version on
      gst-discoverer-1.0.</p>
    <p>You are correct that gst-discoverer-1.0 does not show the klv
      stream but ffprobe DOES show it as Stream #0:1 (I've highlighted
      the text in red below in your email).</p>
    <p>I think we need to do an Apples-to-Apples test here.  I've
      attached a short clip I've made with audio, video and klv data. 
      My system shows this for gst-discoverer-1.0:</p>
    <p>Topology:<br>
        container: MPEG-2 Transport Stream<br>
          video: H.264 (High Profile)<br>
          audio: MPEG-2 AAC<br>
          unknown: meta/x-klv<br>
      <br>
      Properties:<br>
        Duration: 0:00:02.276393185<br>
        Seekable: yes<br>
        Live: no<br>
        Tags: <br>
            language code: en<br>
            audio codec: MPEG-2 AAC<br>
            video codec: H.264</p>
    <p>-----------------<br>
    </p>
    <p>And this for ffprobe:</p>
    <p>Input #0, mpegts, from '/tmp/test1.mp4':<br>
        Duration: 00:00:02.47, start: 3600.000000, bitrate: 1424 kb/s<br>
        Program 1 <br>
          Stream #0:0[0x41]: Data: klv (KLVA / 0x41564C4B)<br>
          Stream #0:1[0x42](en): Audio: aac (LC) ([15][0][0][0] /
      0x000F), 48000 Hz, stereo, fltp, 106 kb/s<br>
          Stream #0:2[0x43]: Video: h264 (High) (HDMV / 0x564D4448),
      yuv420p(tv, bt709, progressive), 1920x1080 [SAR 3:4 DAR 4:3], 30
      fps, 14.58 tbr, 90k tbn, 60 tbc<br>
      Unsupported codec with id 100356 for input stream 0<br>
    </p>
    <p>-------<br>
    </p>
    If you can get me your file, I'll see what I get as well.  Maybe we
    can figure this out....<br>
    <br>
    John<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/23/2018 03:51 PM, Arturo Flores
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACYAzN6xP67hmA+CP0m8WJPwnUxzpUg_Oojt2RQnABOeq5PspQ@mail.gmail.com">
      <div dir="ltr">Hi John,
        <div><br>
        </div>
        <div>I built gstreamer using the "create-uninstalled-setup.sh"
          script on Ubuntu 16.0.4.3 .  The output of gst-discoverer-1.0
          is :</div>
        <div>GStreamer Core Library version 1.15.0.1</div>
        <div><br>
        </div>
        <div>If I run gst-discoverer-1.0 on a file with KLV stream I
          get:</div>
        <div>
          <div>0:00:00.239696518 [332m22597[00m 0x7fe3b40358f0
            [31;01mERROR  [00m [00m               libav
            gstavviddec.c:1309:gst_ffmpegviddec_negotiate:<avdec_h264-0>[00m
            negotiation failed</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>Analyzing <a class="moz-txt-link-freetext" href="file:///home/aflores/file.mpg">file:///home/aflores/file.mpg</a></div>
          <div>Done discovering <a class="moz-txt-link-freetext" href="file:///home/aflores/file.mpg">file:///home/aflores/file.mpg</a></div>
          <div><br>
          </div>
          <div>Topology:</div>
          <div>  container: MPEG-2 Transport Stream</div>
          <div>    video: H.264 (Baseline Profile)</div>
          <div><br>
          </div>
          <div>Properties:</div>
          <div>  Duration: 0:08:54.872310111</div>
          <div>  Seekable: yes</div>
          <div>  Live: no</div>
          <div>  Tags:</div>
          <div>      video codec: H.264</div>
        </div>
        <div><br>
        </div>
        <div>Note it still does not detect the klv stream.  The output
          of ffprobe on the same file:</div>
        <div><br>
        </div>
        <div>
          <div>ffprobe version 2.8.14-0ubuntu0.16.04.1 Copyright (c)
            2007-2018 the FFmpeg developers</div>
          <div>  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
            20160609</div>
          <div>  configuration: --prefix=/usr
            --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg
            --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
            --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++
            --enable-gpl --enable-shared --disable-stripping
            --disable-decoder=libopenjpeg
            --disable-decoder=libschroedinger --enable-avresample
            --enable-avisynth --enable-gnutls --enable-ladspa
            --enable-libass --enable-libbluray --enable-libbs2b
            --enable-libcaca --enable-libcdio --enable-libflite
            --enable-libfontconfig --enable-libfreetype
            --enable-libfribidi --enable-libgme --enable-libgsm
            --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
            --enable-libopus --enable-libpulse --enable-librtmp
            --enable-libschroedinger --enable-libshine
            --enable-libsnappy --enable-libsoxr --enable-libspeex
            --enable-libssh --enable-libtheora --enable-libtwolame
            --enable-libvorbis --enable-libvpx --enable-libwavpack
            --enable-libwebp --enable-libx265 --enable-libxvid
            --enable-libzvbi --enable-openal --enable-opengl
            --enable-x11grab --enable-libdc1394 --enable-libiec61883
            --enable-libzmq --enable-frei0r --enable-libx264
            --enable-libopencv</div>
          <div>  libavutil      54. 31.100 / 54. 31.100</div>
          <div>  libavcodec     56. 60.100 / 56. 60.100</div>
          <div>  libavformat    56. 40.101 / 56. 40.101</div>
          <div>  libavdevice    56.  4.100 / 56.  4.100</div>
          <div>  libavfilter     5. 40.101 /  5. 40.101</div>
          <div>  libavresample   2.  1.  0 /  2.  1.  0</div>
          <div>  libswscale      3.  1.101 /  3.  1.101</div>
          <div>  libswresample   1.  2.101 /  1.  2.101</div>
          <div>  libpostproc    53.  3.100 / 53.  3.100</div>
          <div>Input #0, mpegts, from '/home/aflores/file.mpg':</div>
          <div>  Duration: 00:08:54.93, start: 4235.760433, bitrate:
            6280 kb/s</div>
          <div>  Program 1</div>
          <div>    Stream #0:0[0x21]: Video: h264 (Baseline)
            ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR
            16:9], 59.94 fps, 59.94 tbr, 90k tbn, 119.88 tbc</div>
          <div>    <font color="#ff0000">Stream #0:1[0x28]: Data: klv
              (KLVA / 0x41564C4B)</font></div>
          <div>Unsupported codec with id 1263294017 for input stream 1</div>
        </div>
        <div><br>
        </div>
        <div>Could it be I built gstreamer incorrectly or without the
          right <a href="http://autogen.sh/configure"
            moz-do-not-send="true">autogen.sh/configure</a> flags?  </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jun 21, 2018 at 5:52 PM, John
          Hanks <span dir="ltr"><<a href="mailto:jhanks@vsicorp.com"
              target="_blank" moz-do-not-send="true">jhanks@vsicorp.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>It works correctly on 1.15.0.1.  It must be a bug in
                14.:</p>
              <p>norman:~$ gst-discoverer-1.0 --gst-version<br>
                GStreamer Core Library version 1.15.0.1<br>
                norman:~$ gst-discoverer-1.0 /data/file.ts <br>
                Analyzing <a
                  class="m_-4338596546471850244moz-txt-link-freetext"
                  moz-do-not-send="true">file:///data/file.ts</a><br>
                Done discovering <a
                  class="m_-4338596546471850244moz-txt-link-freetext"
                  moz-do-not-send="true">file:///data/file.ts</a><span
                  class=""><br>
                  <br>
                  Topology:<br>
                    container: MPEG-2 Transport Stream<br>
                </span>     video: H.264 (High 4:2:2 Profile)<br>
                    audio: MPEG-2 AAC<br>
                    unknown: meta/x-klv<br>
                <br>
                Properties:<br>
                  Duration: 0:00:19.095193925<br>
                  Seekable: yes<br>
                  Live: no<br>
                  Tags: <br>
                      language code: en<br>
                      audio codec: MPEG-2 AAC<br>
                      video codec: H.264<br>
                <br>
                John<br>
              </p>
              <div>
                <div class="h5"> <br>
                  <div class="m_-4338596546471850244moz-cite-prefix">On
                    06/21/2018 01:41 PM, Arturo Flores wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">I
                        have a file that contains two streams: a video
                        stream and a klv stream.  One problem I have
                        encountered is it appears the KLV stream is not
                        being detected when using gstreamer-1.0 .  For
                        example, if I use gst-discoverer-0.10 on this
                        file I get:</div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br>
                      </div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">...</div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">
                        <div>Done discovering <a
                            class="m_-4338596546471850244moz-txt-link-freetext"
                            moz-do-not-send="true">file://somefilewithklv.mpg</a></div>
                        <div><br>
                        </div>
                        <div>Topology:</div>
                        <div>  container: MPEG-2 Transport Stream</div>
                        <div>    video: H.264</div>
                        <div>    unknown: private/klv</div>
                      </div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">...</div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br>
                      </div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br>
                      </div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">However,
                        if I use the new gstreamer tool
                        gst-discoverer-1.0, I get:</div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial"><br>
                      </div>
                      <div
style="font-size:12.8px;text-decoration-style:initial;text-decoration-color:initial">
                        <div>Done discovering <a
                            class="m_-4338596546471850244moz-txt-link-freetext"
                            moz-do-not-send="true">file:///somefilewithklv.mpg</a></div>
                        <div><br>
                        </div>
                        <div>Topology:</div>
                        <div>  container: MPEG-2 Transport Stream</div>
                        <div>    video: H.264 (Baseline Profile)</div>
                        <div><br>
                        </div>
                        <div>I am using gstreamer-1.0-1.14.1 if it makes
                          a difference.  Should I be seing the
                          unknown:private/klv stream when using the new
                          gst-discoverer-1.0 ?</div>
                      </div>
                      <br>
                      <div>Thanks</div>
                      <div><br>
                      </div>
                      <div>Arturo</div>
                      <div><br>
                      </div>
                    </div>
                    <br>
                    <fieldset
                      class="m_-4338596546471850244mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
gstreamer-devel mailing list
<a class="m_-4338596546471850244moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" moz-do-not-send="true">gstreamer-devel@lists.<wbr>freedesktop.org</a>
<a class="m_-4338596546471850244moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a>
</pre>
              </blockquote>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            gstreamer-devel mailing list<br>
            <a href="mailto:gstreamer-devel@lists.freedesktop.org"
              moz-do-not-send="true">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
            <a
              href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>