Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
2 posts
|
We pass time in ns seconds, but indeed timestamp is in ms, we just convert it before assignment
GST_BUFFER_PTS(buffer) = timestamp; // in nanos, converted from millis Sorry for the confusion, I mean we get the duplicate timestamp in for mkv cluster [E7] Cluster 1 [1F][43][B6][75] - mult. - - m * * * * * The Top-Level Element containing the (monolithic) Block structure. Timecode 2 [E7] mand. - - - u * * * * * Absolute timestamp of the cluster (based on TimecodeScale). Any idea why that should be? Thanks, Dharm ------------------------------ Message: 1 Date: Wed, 10 Aug 2016 09:42:48 +0200 From: Mailing List SVR <[hidden email]> To: [hidden email] Subject: Re: gst-plugins-good: matroskamux timestamps Message-ID: <[hidden email]> Content-Type: text/plain; charset="utf-8"; Format="flowed" Il 10/08/2016 07:28, DH RA ha scritto: > Hi All, > > We use gstreamer and matroskamux with application passing buffer and > taking out, here is the pipeline > > appsrc name=appsrc block=false is-live=true format=GST_FORMAT_TIME ! > queue name=q ! matroskamux streamable=true ! appsink name=appsink > > > We pass buffer with PTS - > > GST_BUFFER_PTS(buffer) = timestamp; // in nanos > GST_BUFFER_DTS(buffer) = GST_CLOCK_TIME_NONE; > gst_app_src_push_buffer(GST_A > > we get duplicate PTS on output buffer, though input always has > increasing timestamps, is that possible? yes, this is possibile since matroskamux rounds timestamps based on timecodescale, the default value gives millisecond precision, take a look at my patch here: https://bugzilla.gnome.org/sho it is included in gstreamer git, you can set timecodescale property to suit your needs regards Nicola > > > ______________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org ------------------------------ Subject: Digest Footer ______________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/ ------------------------------ End of gstreamer-devel Digest, Vol 67, Issue 21 ****************************** _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Disable Popup Ads | Edit this page |