Decrease latency between different branches of pipeline

Nicolas Dufresne nicolas at ndufresne.ca
Fri Mar 24 18:04:06 UTC 2017


Le jeudi 23 mars 2017 à 21:25 -0700, sielf a écrit :
> The full pipeline is:
> imxv4l2videosrc-videoconvert(colorspace)-queue--tee--queue-
> videoconvert(colorspace)-
> imxg2dvideosink                                                      
>                      
>                                                                      
>     
> > --queue--videoconvert (colorspace) ---imxg2dvideotransform
> 
> (rescale)---videoconvert(colorspace)--imxvpuenc_h264---avimux
> --filesink
>                                                                      
>     
> > --queue--videoconvert-appsink
> 
> 
> Queues have parameters: max-size-time=10s, max-size-bytes=100M
> max-size-buffers-500 , I've changed this without any effect. All sink
> were
> tried with sync false and true. Qos everywhere is true. Coder has
> bitrate=0,
> gop-size=16 quant-param=24 idr=16.

In general, tee should break zero-copy. So that may explain the jittery
part. On the other side, you probably need to make the queue on the
appsink side to be leaky, so it nevers blocks. Otherwise if you don't
read the appsink fast enough, the other side will be jittery.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170324/2a1abc77/attachment.sig>


More information about the gstreamer-devel mailing list