How can I avoid the h264parse element when playing a h264 video stream?

Nicolas Dufresne nicolas at ndufresne.ca
Mon Jul 24 14:48:36 UTC 2017


Le samedi 22 juillet 2017 à 16:59 +0000, paolo perotinus a écrit :
> Hello,
> 
> if my h264-mpegts video stream is encoded in bytestream format, do I
> need a h264parse element before the decoder as well?

tsdemux produces unaligned h264 stream. To align this stream in frames,
you need to lookup for the start of the next frame, which indeed
consist of 1 frame latency.

> Is there a way to create a h264 player without this element? (It
> introduces a 1 frame latency and I would like to avoid that)?

tsdemux introduce 700ms latency to comply with the spec. I am not sure
how one frame latency will make a big difference. Maybe you need some
other container for your needs.

> _______________________________________________
> 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/20170724/bd0310fc/attachment.sig>


More information about the gstreamer-devel mailing list