Can I get a time code from video/x-raw?

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

Can I get a time code from video/x-raw?

William
Say I have a steam set up like this:

gst-launch-1.0 filesrc location=whatever.ts ! tsdemux ! h246parse !
avdec_264 ! my_sink_plugin

The stream going into tsdemux has PES packets which contain the video and
the PES packets have a time code (Presentation Time Stamp).

The stream coming out of avdec_264 is of type video/x-raw.

It's really important that my_sink_plugin know the time code for each frame.
Is that time information included in video/x-raw?




--
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: Can I get a time code from video/x-raw?

Nicolas Dufresne-5
Le mardi 19 novembre 2019 à 13:22 -0600, William a écrit :

> Say I have a steam set up like this:
>
> gst-launch-1.0 filesrc location=whatever.ts ! tsdemux ! h246parse !
> avdec_264 ! my_sink_plugin
>
> The stream going into tsdemux has PES packets which contain the video and
> the PES packets have a time code (Presentation Time Stamp).
>
> The stream coming out of avdec_264 is of type video/x-raw.
>
> It's really important that my_sink_plugin know the time code for each frame.
> Is that time information included in video/x-raw?
Time Code meta, as extracted by h264parse are supposes to be copied
back on to the raw frame during the decoding process.

Nicolas

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

signature.asc (201 bytes) Download Attachment