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

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

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

paolo perotinus
Hello,

if my h264-mpegts video stream is encoded in bytestream format, do I need a h264parse element before the decoder as well?
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)?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Nicolas Dufresne-5
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Loading...