<div dir="ltr">When I run gst-discoverer-1.0 on a file I have, I get:<div><br></div><div><div>gst-discoverer-1.0.exe \temp\file.mpg</div><div>Analyzing file:///temp/file.mpg</div><div>Done discovering file:///temp/file.mpg</div><div><br></div><div>Topology:</div><div> container: MPEG-2 Transport Stream</div><div> video: H.264</div><div><br></div><div>Properties:</div><div> Duration: 0:08:54.872310111</div><div> Seekable: yes</div><div> Tags:</div><div> video codec: H.264</div></div><div><br></div><div>If I run gst-discoverer-0.10 on the same file I get:</div><div><br></div><div><div>gst-discoverer-0.10.exe --gst-debug=0 \temp\file.mpg</div><div>Analyzing file:///temp/file.mpg</div><div>Done discovering file:///temp/file.mpg</div><div>Missing plugins</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><br></div><div>Properties:</div><div> Duration: 0:08:54.777058592</div><div> Seekable: yes</div></div><div><br></div><div>For some reason, on gst-discoverer-1.0 , it fails to detect the KLV stream for this particular file. However, gst-discoverer-1.0 does detect the KLV stream on the file John Hanks attached, so it seems the file I have has some issues (incorrectly encoded or something).</div><div><br></div><div>Arturo</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 25, 2018 at 12:19 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le mercredi 25 juillet 2018 à 10:43 -0700, Arturo Flores a écrit :<br>
> Hi John,<br>
> <br>
> If I run gst-discoverer-1.0 on the file you sent me, it does detect the KLV stream, I get <br>
> <br>
> Topology:<br>
> container: MPEG-2 Transport Stream<br>
> video: H.264<br>
> audio: MPEG-2 AAC<br>
> unknown: meta/x-klv<br>
> <br>
> However, on my file, the stream is still not detected. Unfortunately I don't think I can attach the file.<br>
<br>
</span>This isn't very clear, what did you try ? And how did it failed ?<br>
<span class=""><br>
> <br>
> When I use the gst-discoverer-0.10 on the same file, I observe:<br>
> <br>
> gst-discoverer-0.10.exe file.mpg<br>
> Analyzing file:///C://file.mpg<br>
> 0:00:00.214721000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
<br>
</span>These are warning in 1.0, that's all. Just set GST_DEBUG=2, you'll<br>
should get them.<br>
<div class="HOEnZb"><div class="h5"><br>
> 0:00:00.223471000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.231280000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.237136000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.243968000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.252753000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.259585000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.268369000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.278128000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.286912000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.294720000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.303503000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.311312000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.321072000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.329858000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.340593000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.348400000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.358160000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.365971000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.377681000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.386496000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.393296000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.405012000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.413792000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.422598000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.431363000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.441123000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.447951000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.458689000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.469427000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.476256000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.487972000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.498707000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.507488000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.516273000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.527008000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.536767000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.546526000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.557262000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.565104000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.576785000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.587520000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.597277000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.609968000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.618755000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.628512000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.639249000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.648032000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.656816000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.666580000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.677314000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.687072000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.694879000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.704640000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.711472000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.724160000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.734929000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.742702000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.751488000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.761249000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.772022000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.783701000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.789556000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.801265000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.810047000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.816884000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.825661000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.833472000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.841279000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.849090000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.856895000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.864703000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.871535000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.879355000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.889134000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> 0:00:00.895934000 16512 02D023D0 ERROR ffmpeg :0:: non-existing PPS 0 referenced<br>
> 0:00:00.904719000 16512 02D023D0 ERROR ffmpeg :0:: decode_slice_header error<br>
> 0:00:00.911551000 16512 02D023D0 ERROR ffmpeg :0:: no frame!<br>
> Done discovering file:///C:/file.mpg<br>
> Missing plugins<br>
> <br>
> Topology:<br>
> container: MPEG-2 Transport Stream<br>
> video: H.264<br>
> unknown: private/klv<br>
> <br>
> Properties:<br>
> Duration: 0:08:54.777058592<br>
> Seekable: yes<br>
> <br>
> So it does detect the klv stream, but it also reports some errors. It's possible this file was incorrectly encoded. Perhaps gstreamer 0.10 was more tolerant to errors in the stream?<br>
> <br>
> <br>
> Arturo<br>
> <br>
> <br>
> On Mon, Jul 23, 2018 at 12:51 PM, Arturo Flores <<a href="mailto:arflobow@gmail.com">arflobow@gmail.com</a>> wrote:<br>
> > Hi John,<br>
> > <br>
> > I built gstreamer using the "create-uninstalled-setup.sh" script on Ubuntu 16.0.4.3 . The output of gst-discoverer-1.0 is :<br>
> > GStreamer Core Library version 1.15.0.1<br>
> > <br>
> > If I run gst-discoverer-1.0 on a file with KLV stream I get:<br>
> > 0:00:00.239696518 [332m22597[00m 0x7fe3b40358f0 [31;01mERROR [00m [00m libav gstavviddec.c:1309:gst_<wbr>ffmpegviddec_negotiate:<avdec_<wbr>h264-0>[00m negotiation failed<br>
> > <br>
> > Analyzing file:///home/aflores/file.mpg<br>
> > Done discovering file:///home/aflores/file.mpg<br>
> > <br>
> > Topology:<br>
> > container: MPEG-2 Transport Stream<br>
> > video: H.264 (Baseline Profile)<br>
> > <br>
> > Properties:<br>
> > Duration: 0:08:54.872310111<br>
> > Seekable: yes<br>
> > Live: no<br>
> > Tags:<br>
> > video codec: H.264<br>
> > <br>
> > Note it still does not detect the klv stream. The output of ffprobe on the same file:<br>
> > <br>
> > ffprobe version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2007-2018 the FFmpeg developers<br>
> > built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609<br>
> > configuration: --prefix=/usr --extra-version=0ubuntu0.16.<wbr>04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-<wbr>linux-gnu --incdir=/usr/include/x86_64-<wbr>linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=<wbr>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<br>
> > libavutil 54. 31.100 / 54. 31.100<br>
> > libavcodec 56. 60.100 / 56. 60.100<br>
> > libavformat 56. 40.101 / 56. 40.101<br>
> > libavdevice 56. 4.100 / 56. 4.100<br>
> > libavfilter 5. 40.101 / 5. 40.101<br>
> > libavresample 2. 1. 0 / 2. 1. 0<br>
> > libswscale 3. 1.101 / 3. 1.101<br>
> > libswresample 1. 2.101 / 1. 2.101<br>
> > libpostproc 53. 3.100 / 53. 3.100<br>
> > Input #0, mpegts, from '/home/aflores/file.mpg':<br>
> > Duration: 00:08:54.93, start: 4235.760433, bitrate: 6280 kb/s<br>
> > Program 1<br>
> > 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<br>
> > Stream #0:1[0x28]: Data: klv (KLVA / 0x41564C4B)<br>
> > Unsupported codec with id 1263294017 for input stream 1<br>
> > <br>
> > Could it be I built gstreamer incorrectly or without the right <a href="http://autogen.sh/configure" rel="noreferrer" target="_blank">autogen.sh/configure</a> flags? <br>
> > <br>
> > On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <<a href="mailto:jhanks@vsicorp.com">jhanks@vsicorp.com</a>> wrote:<br>
> > > It works correctly on 1.15.0.1. It must be a bug in 14.:<br>
> > > 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 file:///data/file.ts<br>
> > > Done discovering file:///data/file.ts<br>
> > > <br>
> > > Topology:<br>
> > > container: MPEG-2 Transport Stream<br>
> > > 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>
> > > <br>
> > > On 06/21/2018 01:41 PM, Arturo Flores wrote:<br>
> > > > 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:<br>
> > > > <br>
> > > > ...<br>
> > > > Done discovering file://somefilewithklv.mpg<br>
> > > > <br>
> > > > Topology:<br>
> > > > container: MPEG-2 Transport Stream<br>
> > > > video: H.264<br>
> > > > unknown: private/klv<br>
> > > > ...<br>
> > > > <br>
> > > > <br>
> > > > However, if I use the new gstreamer tool gst-discoverer-1.0, I get:<br>
> > > > <br>
> > > > Done discovering file:///somefilewithklv.mpg<br>
> > > > <br>
> > > > Topology:<br>
> > > > container: MPEG-2 Transport Stream<br>
> > > > video: H.264 (Baseline Profile)<br>
> > > > <br>
> > > > 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 ?<br>
> > > > <br>
> > > > Thanks<br>
> > > > <br>
> > > > Arturo<br>
> > > > <br>
> > > > <br>
> > > > <br>
> > > > ______________________________<wbr>_________________<br>
> > > > gstreamer-devel mailing list<br>
> > > > <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
> > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
> > > <br>
> > > <br>
> > > ______________________________<wbr>_________________<br>
> > > gstreamer-devel mailing list<br>
> > > <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
> > > <br>
> <br>
> ______________________________<wbr>_________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>