do-timestamp=true and identity plugin

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

do-timestamp=true and identity plugin

doodlepuffs
I am a bit curious, do-timestamp=true and the identity plugin in the
gstreamer pipeline are the same thing right? The only time i see the
timestamp is when I exit the video stream, then "Execution ended after
0:00:05.348379438" Is this the timestamp people are referring to when trying
to extract it from video streams? I am very confused. Also how do I read it
without exiting the video stream.



--
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: do-timestamp=true and identity plugin

Nicolas Dufresne-5
Le jeudi 08 août 2019 à 02:47 -0500, doodlepuffs a écrit :
> I am a bit curious, do-timestamp=true and the identity plugin in the
> gstreamer pipeline are the same thing right? The only time i see the

No, do-timestamp is a property that tells basesink to set timestamp on
buffers automatically. identity is an element that does no thing, but
has some debugging features.

> timestamp is when I exit the video stream, then "Execution ended after
> 0:00:05.348379438" Is this the timestamp people are referring to when trying
> to extract it from video streams? I am very confused. Also how do I read it
> without exiting the video stream.

I'm sorry, I don't understand this question.

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

Re: do-timestamp=true and identity plugin

doodlepuffs
Nicolas Dufresne-5 wrote
> Le jeudi 08 août 2019 à 02:47 -0500, doodlepuffs a écrit :
>> I am a bit curious, do-timestamp=true and the identity plugin in the
>> gstreamer pipeline are the same thing right? The only time i see the
>
> No, do-timestamp is a property that tells basesink to set timestamp on
> buffers automatically. identity is an element that does no thing, but
> has some debugging features.

Oh, I see. Was searching in stackoverflow and different blogs that said
identity was able to provide the timestamp for the video stream.


>> timestamp is when I exit the video stream, then "Execution ended after
>> 0:00:05.348379438" Is this the timestamp people are referring to when
>> trying
>> to extract it from video streams? I am very confused. Also how do I read
>> it
>> without exiting the video stream.
>
> I'm sorry, I don't understand this question.

I meant when i used do-timestamps=true in the gstreamer pipeline, didn't see
anything related to time apart from when i exited the video stream and there
is an output on the command line that says :

Execution ended after 0:00:05.348379438

It seems as though it provides the timestamp for the entire time the stream
has been running.




--
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: do-timestamp=true and identity plugin

pisymbol .


On Fri, Aug 9, 2019 at 4:06 AM doodlepuffs <[hidden email]> wrote:
Nicolas Dufresne-5 wrote
> Le jeudi 08 août 2019 à 02:47 -0500, doodlepuffs a écrit :
>> I am a bit curious, do-timestamp=true and the identity plugin in the
>> gstreamer pipeline are the same thing right? The only time i see the
>
> No, do-timestamp is a property that tells basesink to set timestamp on
> buffers automatically. identity is an element that does no thing, but
> has some debugging features.

Oh, I see. Was searching in stackoverflow and different blogs that said
identity was able to provide the timestamp for the video stream.

identity won't do it, but you can use identity's handoff signal to timestamp them as they travel through the pipeline.

-aps

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

Re: do-timestamp=true and identity plugin

doodlepuffs
pisymbol . wrote
> On Fri, Aug 9, 2019 at 4:06 AM doodlepuffs &lt;

> mikey_lue777@

> &gt; wrote:
>
>> Nicolas Dufresne-5 wrote
>> > Le jeudi 08 août 2019 à 02:47 -0500, doodlepuffs a écrit :
>> >> I am a bit curious, do-timestamp=true and the identity plugin in the
>> >> gstreamer pipeline are the same thing right? The only time i see the
>> >
>> > No, do-timestamp is a property that tells basesink to set timestamp on
>> > buffers automatically. identity is an element that does no thing, but
>> > has some debugging features.
>>
>> Oh, I see. Was searching in stackoverflow and different blogs that said
>> identity was able to provide the timestamp for the video stream.
>>
>
> identity won't do it, but you can use identity's handoff signal to
> timestamp them as they travel through the pipeline.
>
> -aps

would you mind giving an example? I am coding in python but I am thinking of
trying to make a plugin in c to get the timestamp of when the camera
initially starts and output it to a file to be read in python.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel