KLV stream not detected

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

KLV stream not detected

Arturo Flores
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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

jhanksv

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:

...

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:


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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
Thanks, where would I get 1.15.01?  I only see 1.14.01 here: https://gstreamer.freedesktop.org/data/pkg/windows/ .  Is it possible this is working in previous versions (pre 1.14)?

Arturo


On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]> 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:

...

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:


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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
In reply to this post by jhanksv
btw, I tried downloading a few other versions of gstreamer (1.10, 1.12, 1.13 ), I'm observing the same behavior in those versions too.  Should I be able to detect the KLV stream?

On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]> 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:

...

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:


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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Nicolas Dufresne-5
Le vendredi 22 juin 2018 à 11:22 -0700, Arturo Flores a écrit :

> btw, I tried downloading a few other versions of gstreamer (1.10,
> 1.12, 1.13 ), I'm observing the same behavior in those versions too.
> Should I be able to detect the KLV stream?
>
> On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]>
> 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
Why do you say it's undetected ? This lines indicated it is. It says
unknown, because it does not fit in any of the 3 categories discoverer
knows, which is video/audio/text.

> >
> > 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 list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >  
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
Hi Nicolas,

The output I've observed in all of the gstreamer1.x versions I've tried (up to 1.14.1) is:

Done discovering file:///somefilewithklv.mpg

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

John Hanks says he observed the "unknown: meta/x-klv" line in gstreamer 1.15.0.1  .  I don't have that version, and I don't know where to get it.  If you know where to get it, please let me know.

Thanks

Arturo


On Fri, Jun 22, 2018 at 12:53 PM, Nicolas Dufresne <[hidden email]> wrote:
Le vendredi 22 juin 2018 à 11:22 -0700, Arturo Flores a écrit :
> btw, I tried downloading a few other versions of gstreamer (1.10,
> 1.12, 1.13 ), I'm observing the same behavior in those versions too.
> Should I be able to detect the KLV stream?
>
> On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]>
> 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

Why do you say it's undetected ? This lines indicated it is. It says
unknown, because it does not fit in any of the 3 categories discoverer
knows, which is video/audio/text.

> >
> > 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 list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Nicolas Dufresne-5


Le ven. 22 juin 2018 16:42, Arturo Flores <[hidden email]> a écrit :
Hi Nicolas,

The output I've observed in all of the gstreamer1.x versions I've tried (up to 1.14.1) is:

Done discovering file:///somefilewithklv.mpg

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

John Hanks says he observed the "unknown: meta/x-klv" line in gstreamer 1.15.0.1  .  I don't have that version, and I don't know where to get it.  If you know where to get it, please let me know.

1.15 is not a real version. Odd minor identify development branches. 1.15 is the current development branches, toward next stable branch 1.16. if you can't wait to get a new feature, try and identify the patches that added this feature, and then you can backport into your project.


Thanks

Arturo


On Fri, Jun 22, 2018 at 12:53 PM, Nicolas Dufresne <[hidden email]> wrote:
Le vendredi 22 juin 2018 à 11:22 -0700, Arturo Flores a écrit :
> btw, I tried downloading a few other versions of gstreamer (1.10,
> 1.12, 1.13 ), I'm observing the same behavior in those versions too.
> Should I be able to detect the KLV stream?
>
> On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]>
> 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

Why do you say it's undetected ? This lines indicated it is. It says
unknown, because it does not fit in any of the 3 categories discoverer
knows, which is video/audio/text.

> >
> > 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 list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

jhanksv
In reply to this post by Arturo Flores

Sorry for the late response - I've been out of town.

I am running on Linux and did a git update (git pull origin).  The git repository updated to 1.15 a couple of weeks ago.

John


On 06/22/2018 04:36 PM, Arturo Flores wrote:
Hi Nicolas,

The output I've observed in all of the gstreamer1.x versions I've tried (up to 1.14.1) is:


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

John Hanks says he observed the "unknown: meta/x-klv" line in gstreamer 1.15.0.1  .  I don't have that version, and I don't know where to get it.  If you know where to get it, please let me know.

Thanks

Arturo


On Fri, Jun 22, 2018 at 12:53 PM, Nicolas Dufresne <[hidden email]> wrote:
Le vendredi 22 juin 2018 à 11:22 -0700, Arturo Flores a écrit :
> btw, I tried downloading a few other versions of gstreamer (1.10,
> 1.12, 1.13 ), I'm observing the same behavior in those versions too.
> Should I be able to detect the KLV stream?
>
> On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]>
> 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

Why do you say it's undetected ? This lines indicated it is. It says
unknown, because it does not fit in any of the 3 categories discoverer
knows, which is video/audio/text.

> >
> > 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 list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
Thanks, would this be the master branch here https://github.com/GStreamer/gstreamer ?

Are nightly windows builds of master available anywhere?  I can figure out how to build it on windows if necessary, but if there is something like a nightly build for windows available somewhere, I would use that option instead.

Arturo


On Tue, Jul 3, 2018 at 6:13 PM, John Hanks <[hidden email]> wrote:

Sorry for the late response - I've been out of town.

I am running on Linux and did a git update (git pull origin).  The git repository updated to 1.15 a couple of weeks ago.

John


On 06/22/2018 04:36 PM, Arturo Flores wrote:
Hi Nicolas,

The output I've observed in all of the gstreamer1.x versions I've tried (up to 1.14.1) is:


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

John Hanks says he observed the "unknown: meta/x-klv" line in gstreamer 1.15.0.1  .  I don't have that version, and I don't know where to get it.  If you know where to get it, please let me know.

Thanks

Arturo


On Fri, Jun 22, 2018 at 12:53 PM, Nicolas Dufresne <[hidden email]> wrote:
Le vendredi 22 juin 2018 à 11:22 -0700, Arturo Flores a écrit :
> btw, I tried downloading a few other versions of gstreamer (1.10,
> 1.12, 1.13 ), I'm observing the same behavior in those versions too.
> Should I be able to detect the KLV stream?
>
> On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]>
> 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

Why do you say it's undetected ? This lines indicated it is. It says
unknown, because it does not fit in any of the 3 categories discoverer
knows, which is video/audio/text.

> >
> > 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 list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

jhanksv

For whatever reason, it looks like I used 

git://anongit.freedesktop.org/git/gstreamer/$module

to grab my initial install and just do 'git pull origin' to get updates.

I found a script from last August that used this as the source and this is also in the gst-plugins-good.doap file in my gst-plugins-good build directory.  I haven't has a need to learn too much a git so I'm not sure how different this might be from what is on github (or how to tell).

John


On 07/04/2018 11:31 AM, Arturo Flores wrote:
Thanks, would this be the master branch here https://github.com/GStreamer/gstreamer ?

Are nightly windows builds of master available anywhere?  I can figure out how to build it on windows if necessary, but if there is something like a nightly build for windows available somewhere, I would use that option instead.

Arturo


On Tue, Jul 3, 2018 at 6:13 PM, John Hanks <[hidden email]> wrote:

Sorry for the late response - I've been out of town.

I am running on Linux and did a git update (git pull origin).  The git repository updated to 1.15 a couple of weeks ago.

John


On 06/22/2018 04:36 PM, Arturo Flores wrote:
Hi Nicolas,

The output I've observed in all of the gstreamer1.x versions I've tried (up to 1.14.1) is:


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

John Hanks says he observed the "unknown: meta/x-klv" line in gstreamer 1.15.0.1  .  I don't have that version, and I don't know where to get it.  If you know where to get it, please let me know.

Thanks

Arturo


On Fri, Jun 22, 2018 at 12:53 PM, Nicolas Dufresne <[hidden email]> wrote:
Le vendredi 22 juin 2018 à 11:22 -0700, Arturo Flores a écrit :
> btw, I tried downloading a few other versions of gstreamer (1.10,
> 1.12, 1.13 ), I'm observing the same behavior in those versions too.
> Should I be able to detect the KLV stream?
>
> On Thu, Jun 21, 2018 at 5:52 PM, John Hanks <[hidden email]>
> 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

Why do you say it's undetected ? This lines indicated it is. It says
unknown, because it does not fit in any of the 3 categories discoverer
knows, which is video/audio/text.

> >
> > 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 list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
In reply to this post by jhanksv
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 <[hidden email]> 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:

...

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:


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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

jhanksv

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.

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).

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:

Topology:
  container: MPEG-2 Transport Stream
    video: H.264 (High Profile)
    audio: MPEG-2 AAC
    unknown: meta/x-klv

Properties:
  Duration: 0:00:02.276393185
  Seekable: yes
  Live: no
  Tags:
      language code: en
      audio codec: MPEG-2 AAC
      video codec: H.264

-----------------

And this for ffprobe:

Input #0, mpegts, from '/tmp/test1.mp4':
  Duration: 00:00:02.47, start: 3600.000000, bitrate: 1424 kb/s
  Program 1
    Stream #0:0[0x41]: Data: klv (KLVA / 0x41564C4B)
    Stream #0:1[0x42](en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 106 kb/s
    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
Unsupported codec with id 100356 for input stream 0

-------

If you can get me your file, I'll see what I get as well.  Maybe we can figure this out....

John



On 07/23/2018 03:51 PM, Arturo Flores wrote:
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


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 <[hidden email]> 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:

...

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:


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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

test1.mp4 (588K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
In reply to this post by Arturo Flores
Hi John,

If I run gst-discoverer-1.0 on the file you sent me, it does detect the KLV stream, I get 

Topology:
  container: MPEG-2 Transport Stream
    video: H.264
    audio: MPEG-2 AAC
    unknown: meta/x-klv

However, on my file, the stream is still not detected.  Unfortunately I don't think I can attach the file.

When I use the gst-discoverer-0.10 on the same file, I observe:

gst-discoverer-0.10.exe file.mpg
Analyzing file:///C://file.mpg
0:00:00.214721000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.223471000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.231280000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.237136000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.243968000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.252753000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.259585000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.268369000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.278128000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.286912000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.294720000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.303503000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.311312000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.321072000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.329858000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.340593000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.348400000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.358160000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.365971000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.377681000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.386496000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.393296000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.405012000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.413792000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.422598000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.431363000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.441123000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.447951000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.458689000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.469427000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.476256000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.487972000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.498707000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.507488000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.516273000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.527008000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.536767000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.546526000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.557262000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.565104000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.576785000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.587520000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.597277000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.609968000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.618755000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.628512000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.639249000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.648032000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.656816000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.666580000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.677314000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.687072000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.694879000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.704640000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.711472000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.724160000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.734929000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.742702000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.751488000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.761249000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.772022000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.783701000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.789556000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.801265000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.810047000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.816884000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.825661000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.833472000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.841279000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.849090000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.856895000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.864703000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.871535000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.879355000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.889134000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
0:00:00.895934000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
0:00:00.904719000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
0:00:00.911551000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
Done discovering file:///C:/file.mpg
Missing plugins

Topology:
  container: MPEG-2 Transport Stream
    video: H.264
    unknown: private/klv

Properties:
  Duration: 0:08:54.777058592
  Seekable: yes

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?


Arturo


On Mon, Jul 23, 2018 at 12:51 PM, Arturo Flores <[hidden email]> wrote:
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 <[hidden email]> 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:

...

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:


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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arjen Veenhuizen
The errors you see are indeed video encoder related. SPS/PPS/VPS headers are
missing (or at least they are not present at the beginning of the
bitstream). Alternatively, the stream did not start with a key frame.
Without these headers and/or a starting keyframe, the decoder has no clue
how to parse/decode the video.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Nicolas Dufresne-5
In reply to this post by Arturo Flores
Le mercredi 25 juillet 2018 à 10:43 -0700, Arturo Flores a écrit :

> Hi John,
>
> If I run gst-discoverer-1.0 on the file you sent me, it does detect the KLV stream, I get
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     audio: MPEG-2 AAC
>     unknown: meta/x-klv
>
> However, on my file, the stream is still not detected.  Unfortunately I don't think I can attach the file.
This isn't very clear, what did you try ? And how did it failed ?

>
> When I use the gst-discoverer-0.10 on the same file, I observe:
>
> gst-discoverer-0.10.exe file.mpg
> Analyzing file:///C://file.mpg
> 0:00:00.214721000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced

These are warning in 1.0, that's all. Just set GST_DEBUG=2, you'll
should get them.

> 0:00:00.223471000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.231280000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.237136000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.243968000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.252753000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.259585000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.268369000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.278128000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.286912000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.294720000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.303503000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.311312000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.321072000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.329858000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.340593000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.348400000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.358160000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.365971000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.377681000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.386496000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.393296000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.405012000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.413792000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.422598000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.431363000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.441123000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.447951000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.458689000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.469427000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.476256000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.487972000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.498707000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.507488000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.516273000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.527008000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.536767000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.546526000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.557262000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.565104000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.576785000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.587520000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.597277000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.609968000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.618755000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.628512000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.639249000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.648032000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.656816000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.666580000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.677314000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.687072000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.694879000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.704640000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.711472000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.724160000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.734929000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.742702000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.751488000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.761249000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.772022000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.783701000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.789556000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.801265000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.810047000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.816884000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.825661000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.833472000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.841279000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.849090000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.856895000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.864703000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.871535000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.879355000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.889134000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.895934000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.904719000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.911551000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> Done discovering file:///C:/file.mpg
> Missing plugins
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     unknown: private/klv
>
> Properties:
>   Duration: 0:08:54.777058592
>   Seekable: yes
>
> 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?
>
>
> Arturo
>
>
> On Mon, Jul 23, 2018 at 12:51 PM, Arturo Flores <[hidden email]> wrote:
> > 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 <[hidden email]> 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 list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >  
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Nicolas Dufresne-5
In reply to this post by Arturo Flores
Btw, extracting klv works for me:

gst-launch-1.0 souphttpsrc location="http://samples.ffmpeg.org/MPEG2/mpegts-klv/Day%20Flight.mpg" \
  ! tsdemux name=dm \
    dm. ! h264parse ! fakesink silent=1 sync=0 \
    dm. ! queue ! fakesink silent=0 async=0 -v

Le mercredi 25 juillet 2018 à 10:43 -0700, Arturo Flores a écrit :

> Hi John,
>
> If I run gst-discoverer-1.0 on the file you sent me, it does detect
> the KLV stream, I get
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     audio: MPEG-2 AAC
>     unknown: meta/x-klv
>
> However, on my file, the stream is still not detected.  Unfortunately
> I don't think I can attach the file.
>
> When I use the gst-discoverer-0.10 on the same file, I observe:
>
> gst-discoverer-0.10.exe file.mpg
> Analyzing file:///C://file.mpg
> 0:00:00.214721000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.223471000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.231280000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.237136000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.243968000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.252753000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.259585000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.268369000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.278128000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.286912000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.294720000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.303503000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.311312000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.321072000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.329858000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.340593000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.348400000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.358160000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.365971000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.377681000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.386496000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.393296000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.405012000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.413792000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.422598000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.431363000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.441123000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.447951000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.458689000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.469427000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.476256000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.487972000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.498707000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.507488000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.516273000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.527008000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.536767000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.546526000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.557262000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.565104000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.576785000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.587520000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.597277000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.609968000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.618755000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.628512000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.639249000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.648032000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.656816000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.666580000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.677314000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.687072000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.694879000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.704640000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.711472000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.724160000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.734929000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.742702000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.751488000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.761249000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.772022000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.783701000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.789556000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.801265000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.810047000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.816884000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.825661000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.833472000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.841279000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.849090000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.856895000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.864703000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.871535000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.879355000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.889134000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> 0:00:00.895934000 16512   02D023D0 ERROR                 ffmpeg :0::
> non-existing PPS 0 referenced
> 0:00:00.904719000 16512   02D023D0 ERROR                 ffmpeg :0::
> decode_slice_header error
> 0:00:00.911551000 16512   02D023D0 ERROR                 ffmpeg :0::
> no frame!
> Done discovering file:///C:/file.mpg
> Missing plugins
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     unknown: private/klv
>
> Properties:
>   Duration: 0:08:54.777058592
>   Seekable: yes
>
> 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?
>
>
> Arturo
>
>
> On Mon, Jul 23, 2018 at 12:51 PM, Arturo Flores <[hidden email]>
> wrote:
> > 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 <[hidden email]>
> > 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 list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >  
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
In reply to this post by Nicolas Dufresne-5
When I run gst-discoverer-1.0 on a file I have, I get:

gst-discoverer-1.0.exe \temp\file.mpg
Analyzing file:///temp/file.mpg
Done discovering file:///temp/file.mpg

Topology:
  container: MPEG-2 Transport Stream
    video: H.264

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

If I run gst-discoverer-0.10 on the same file I get:

gst-discoverer-0.10.exe --gst-debug=0 \temp\file.mpg
Analyzing file:///temp/file.mpg
Done discovering file:///temp/file.mpg
Missing plugins

Topology:
  container: MPEG-2 Transport Stream
    video: H.264
    unknown: private/klv

Properties:
  Duration: 0:08:54.777058592
  Seekable: yes

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).

Arturo



On Wed, Jul 25, 2018 at 12:19 PM, Nicolas Dufresne <[hidden email]> wrote:
Le mercredi 25 juillet 2018 à 10:43 -0700, Arturo Flores a écrit :
> Hi John,
>
> If I run gst-discoverer-1.0 on the file you sent me, it does detect the KLV stream, I get
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     audio: MPEG-2 AAC
>     unknown: meta/x-klv
>
> However, on my file, the stream is still not detected.  Unfortunately I don't think I can attach the file.

This isn't very clear, what did you try ? And how did it failed ?

>
> When I use the gst-discoverer-0.10 on the same file, I observe:
>
> gst-discoverer-0.10.exe file.mpg
> Analyzing file:///C://file.mpg
> 0:00:00.214721000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced

These are warning in 1.0, that's all. Just set GST_DEBUG=2, you'll
should get them.

> 0:00:00.223471000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.231280000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.237136000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.243968000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.252753000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.259585000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.268369000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.278128000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.286912000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.294720000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.303503000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.311312000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.321072000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.329858000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.340593000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.348400000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.358160000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.365971000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.377681000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.386496000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.393296000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.405012000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.413792000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.422598000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.431363000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.441123000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.447951000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.458689000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.469427000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.476256000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.487972000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.498707000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.507488000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.516273000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.527008000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.536767000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.546526000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.557262000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.565104000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.576785000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.587520000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.597277000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.609968000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.618755000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.628512000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.639249000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.648032000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.656816000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.666580000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.677314000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.687072000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.694879000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.704640000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.711472000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.724160000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.734929000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.742702000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.751488000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.761249000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.772022000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.783701000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.789556000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.801265000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.810047000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.816884000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.825661000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.833472000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.841279000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.849090000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.856895000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.864703000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.871535000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.879355000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.889134000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> 0:00:00.895934000 16512   02D023D0 ERROR                 ffmpeg :0:: non-existing PPS 0 referenced
> 0:00:00.904719000 16512   02D023D0 ERROR                 ffmpeg :0:: decode_slice_header error
> 0:00:00.911551000 16512   02D023D0 ERROR                 ffmpeg :0:: no frame!
> Done discovering file:///C:/file.mpg
> Missing plugins
>
> Topology:
>   container: MPEG-2 Transport Stream
>     video: H.264
>     unknown: private/klv
>
> Properties:
>   Duration: 0:08:54.777058592
>   Seekable: yes
>
> 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?
>
>
> Arturo
>
>
> On Mon, Jul 23, 2018 at 12:51 PM, Arturo Flores <[hidden email]> wrote:
> > 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 <[hidden email]> 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 list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > 
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Nicolas Dufresne-5
Le mercredi 25 juillet 2018 à 13:27 -0700, Arturo Flores a écrit :
> 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).

Unless you share a sample of this file, it will be impossible for a dev
to make an analyses and if possible fix the issue.

Nicolas

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Arturo Flores
Ok thanks, it might not be possible to share due to its proprietary nature.  I do appreciate the feedback I've received thus far, it has been helpful.  I suspect it is an issue with this particular set of files I have.

Arturo


On Wed, Jul 25, 2018 at 3:32 PM, Nicolas Dufresne <[hidden email]> wrote:
Le mercredi 25 juillet 2018 à 13:27 -0700, Arturo Flores a écrit :
> 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).

Unless you share a sample of this file, it will be impossible for a dev
to make an analyses and if possible fix the issue.

Nicolas

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: KLV stream not detected

Nicolas Dufresne-5
Le mercredi 25 juillet 2018 à 15:37 -0700, Arturo Flores a écrit :
> Ok thanks, it might not be possible to share due to its proprietary
> nature.  I do appreciate the feedback I've received thus far, it has
> been helpful.  I suspect it is an issue with this particular set of
> files I have.

With MPEG TS, you can cut out a very small part, just enough to
reproduce, which is generally enough to avoid the reproduction claims
(e.g. .5 of a second). But you decide.

>
> Arturo

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel