KLV stream not detected

Arturo Flores arflobow at gmail.com
Mon Jul 23 19:51:16 UTC 2018


Hi John,

I built gstreamer using the "create-uninstalled-setup.sh" script on Ubuntu
16.0.4.3 .  The output of gst-discoverer-1.0 is :
GStreamer Core Library version 1.15.0.1

If I run gst-discoverer-1.0 on a file with KLV stream I get:
0:00:00.239696518 [332m22597[00m 0x7fe3b40358f0 [31;01mERROR  [00m [00m
           libav
gstavviddec.c:1309:gst_ffmpegviddec_negotiate:<avdec_h264-0>[00m
negotiation failed

Analyzing file:///home/aflores/file.mpg
Done discovering file:///home/aflores/file.mpg

Topology:
  container: MPEG-2 Transport Stream
    video: H.264 (Baseline Profile)

Properties:
  Duration: 0:08:54.872310111
  Seekable: yes
  Live: no
  Tags:
      video codec: H.264

Note it still does not detect the klv stream.  The output of ffprobe on the
same file:

ffprobe version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2007-2018 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  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
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mpegts, from '/home/aflores/file.mpg':
  Duration: 00:08:54.93, start: 4235.760433, bitrate: 6280 kb/s
  Program 1
    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
    Stream #0:1[0x28]: Data: klv (KLVA / 0x41564C4B)
Unsupported codec with id 1263294017 for input stream 1

Could it be I built gstreamer incorrectly or without the right
autogen.sh/configure flags?

On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <jhanks at vsicorp.com> wrote:

> It works correctly on 1.15.0.1.  It must be a bug in 14.:
>
> norman:~$ gst-discoverer-1.0 --gst-version
> GStreamer Core Library version 1.15.0.1
> norman:~$ gst-discoverer-1.0 /data/file.ts
> Analyzing file:///data/file.ts
> Done discovering file:///data/file.ts
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264 (High 4:2:2 Profile)
>     audio: MPEG-2 AAC
>     unknown: meta/x-klv
>
> Properties:
>   Duration: 0:00:19.095193925
>   Seekable: yes
>   Live: no
>   Tags:
>       language code: en
>       audio codec: MPEG-2 AAC
>       video codec: H.264
>
> John
>
> On 06/21/2018 01:41 PM, Arturo Flores wrote:
>
> 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:
>
> ...
> Done discovering file://somefilewithklv.mpg
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     unknown: private/klv
> ...
>
>
> However, if I use the new gstreamer tool gst-discoverer-1.0, I get:
>
> Done discovering file:///somefilewithklv.mpg
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264 (Baseline Profile)
>
> 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 ?
>
> Thanks
>
> Arturo
>
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180723/b6f93279/attachment.html>


More information about the gstreamer-devel mailing list