mpegts latency

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jul 31 17:49:43 UTC 2019


Le mercredi 31 juillet 2019 à 09:45 -0500, TheGiamig a écrit :
> Nicolas Dufresne-5 wrote
> > Le mer. 31 juill. 2019 08 h 25, TheGiamig <
> > thegiamig@
> > > a écrit :
> > 
> > tsdemux has 700ms latency, as required by the MPEG TS specification. I am
> > considering adding a property to lower that, for those who know what they
> > are doing. Lowering it too much would lead to erroneous timestamp to be
> > produced.
> > 
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at .freedesktop
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> If I do about the same with ffmpeg the latency go away.
> I think 700ms is the maximum latency between PTS or someting, not the
> minimum latency.
> 
> Anyway, what is the best approach for a very low-latency h264 video
> streaming? RTP?

If you want to stick with MPEG TS, you can hack the latency through
gst_pipeline_set_latency(), or disable the sync as Micheal suggest in
the following email. But or out-of-the-box low latency, an RTP base
pipeline will work better for now.

> 
> Thanks
> 
>  
> 
> 
> 
> --
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190731/001d47ab/attachment.sig>


More information about the gstreamer-devel mailing list