Request for guidance on improving GstDiscoverer

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

Request for guidance on improving GstDiscoverer

David Ing
I am interesting in adding some features to the GstDiscoverer, to allow it to operate in a mode which could discover more information about a media file.

For example, I would like it to discover:
  • For each stream
    • Duration
    • First Timestamp
    • Last Timestamp
    • Framerate variance
    • Framerate min
    • Framerate max
    • Any changes to screen geometry, and the time at which this change occurred
I am particularly interested in the highlighted item.

Can anyone provide pointers as to how I would go about detecting the changes in screen geometry (and the relevant timestamp).  Details would be nice.

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

Re: Request for guidance on improving GstDiscoverer

Thibault Saunier-4
Hello,

You can have a look at the validate media descriptor writer[0] where we basically parse the whole file to detect all frames. Nowadays we should use parsebin for that instead of decodebin and that tool should probably be updated but we could add those feature in the discoverer doing something similar to that.

I think we should basically rewrite GstDiscover around parsebin so that it stops decoding and instead parse files, this way we could have flags to tell how much parsing we want.

- Thibault


On Tue, May 19, 2020 at 3:59 PM David Ing <[hidden email]> wrote:
I am interesting in adding some features to the GstDiscoverer, to allow it to operate in a mode which could discover more information about a media file.

For example, I would like it to discover:
  • For each stream
    • Duration
    • First Timestamp
    • Last Timestamp
    • Framerate variance
    • Framerate min
    • Framerate max
    • Any changes to screen geometry, and the time at which this change occurred
I am particularly interested in the highlighted item.

Can anyone provide pointers as to how I would go about detecting the changes in screen geometry (and the relevant timestamp).  Details would be nice.
_______________________________________________
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