[0.11] TimingMetadata

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

[0.11] TimingMetadata

Matej Knopp
Hi,

I had a brief look at GStreamer 0.11 and I am a little bit confused.
From the docs I was under the impression that timing will be part of
buffer metadata and there indeed is a GstTimingMetadata, however
buffer has still timestamp and duration fields. Also as far as I can
tell no plugin in GStreamer uses GstTimedMetadata. So what is the
purpose of it? The lack of distinction between its and dts in
GstBuffer does seem to be a bit problematic to me, but keeping the
timestamp and adding optional dts and pts on top looks confusing,
especially when there are no plugins using it so I can't see how it is
supposed to be used and where can it be expected.

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

Re: [0.11] TimingMetadata

Tim-Philipp Müller-2
On Sun, 2011-08-21 at 02:42 -0400, Matej Knopp wrote:

Hi,

> I had a brief look at GStreamer 0.11 and I am a little bit confused.
> From the docs I was under the impression that timing will be part of
> buffer metadata and there indeed is a GstTimingMetadata, however
> buffer has still timestamp and duration fields. Also as far as I can
> tell no plugin in GStreamer uses GstTimedMetadata. So what is the
> purpose of it? The lack of distinction between its and dts in
> GstBuffer does seem to be a bit problematic to me, but keeping the
> timestamp and adding optional dts and pts on top looks confusing,
> especially when there are no plugins using it so I can't see how it is
> supposed to be used and where can it be expected.

I think the plan is to have a transition where both exist for a while,
so that plugins can be moved to the new system gradually.

 Cheers
  -Tim

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

Re: [0.11] TimingMetadata

Matej Knopp
On Sun, Aug 21, 2011 at 7:26 AM, Tim-Philipp Müller <[hidden email]> wrote:

> On Sun, 2011-08-21 at 02:42 -0400, Matej Knopp wrote:
>
> Hi,
>
>> I had a brief look at GStreamer 0.11 and I am a little bit confused.
>> From the docs I was under the impression that timing will be part of
>> buffer metadata and there indeed is a GstTimingMetadata, however
>> buffer has still timestamp and duration fields. Also as far as I can
>> tell no plugin in GStreamer uses GstTimedMetadata. So what is the
>> purpose of it? The lack of distinction between its and dts in
>> GstBuffer does seem to be a bit problematic to me, but keeping the
>> timestamp and adding optional dts and pts on top looks confusing,
>> especially when there are no plugins using it so I can't see how it is
>> supposed to be used and where can it be expected.
>
> I think the plan is to have a transition where both exist for a while,
> so that plugins can be moved to the new system gradually.
>
>  Cheers
>  -Tim
>
Thanks! I guess it would be nice to have this mentioned somewhere in the docs.

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