Gstreamer h264 udp stream is to laggy

Nicolas Dufresne nicolas.dufresne at gmail.com
Thu Nov 3 17:35:51 UTC 2016


Le jeudi 03 novembre 2016 à 07:11 -0700, kingalione a écrit :
> 
> So what is the problem here to get a smooth live stream? I tried to play a
> bit with the framerates up and down but got no significant difference on the
> lagging time.

You may try to set a simplier H264 profile, but default it is high.
This is done by adding a caps filter after the encoder:

  ... ! x264enc tune=zerolatency ... ! video/x-h264,profile=constrained-baseline ! ...

If that is not enough, you should try and enable an HW encoder on your platform.

Nicolas


More information about the gstreamer-devel mailing list