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

Mathieu Duponchelle mathieu at centricular.com
Mon Dec 2 13:07:32 UTC 2019


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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list