getting first and last presentatio timstamp (pts) from video files

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

getting first and last presentatio timstamp (pts) from video files

shyam
Hi,

          I create multiple mkv files from RTSP streams. I need to know the
presentation timestamps(pts) in each file so that I can seek the right file
and right frame in that file programmatically . Hence I am thinking of
populating a table with information of first and last pts of each of the
video files. Please share ideas on how to implement this functionality.

Thanks & Regards,
Shyam



--
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: getting first and last presentatio timstamp (pts) from video files

Mathieu Duponchelle
Hey,

One solution to do so is to use gst-validate-media-check-1.0 with the --full argument.

This will however write to either stdout or a file, I've given thought to extracting this functionality
to a library instead, thus gaining the option to keep things in memory instead, but never found free time to do so :)

Hope that helps,

--
Mathieu Duponchelle ยท https://www.centricular.com

On 11/27/19 1:35 AM, shyam wrote:

> Hi,
>
>           I create multiple mkv files from RTSP streams. I need to know the
> presentation timestamps(pts) in each file so that I can seek the right file
> and right frame in that file programmatically . Hence I am thinking of
> populating a table with information of first and last pts of each of the
> video files. Please share ideas on how to implement this functionality.
>
> Thanks & Regards,
> Shyam
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> 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