<p dir="ltr"><br>
Le 3 juin 2016 5:51 AM, "Yisus" <<a href="mailto:j.avileses@gmail.com">j.avileses@gmail.com</a>> a écrit :<br>
><br>
> Hi,<br>
><br>
>  We are using vp9enc for one of our pipelines in order to transcode a rtp<br>
> video stream, from H264 to VP9. The issue is that vp9enc introduce too<br>
> latency for real time communication.</p>
<p dir="ltr">You can control that using the deadline property.</p>
<p dir="ltr">><br>
> ///////////////////////////////////////////////////////////////////////<br>
><br>
>  Sender:<br>
><br>
>   gst-launch-1.0 v4l2src ! video/x-raw, width=640, height=480 ! videoconvert<br>
> ! openh264enc ! rtph264pay ! udpsink host=127.0.0.1 port=9001<br>
><br>
>  Transcoding:<br>
><br>
>  gst-launch-1.0 udpsrc port=9001 caps="application/x-rtp,<br>
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,<br>
> payload=(int)96" ! rtph264depay ! avdec_h264 ! vp9enc cpu-used=5 ! rtpvp9pay<br>
> ! udpsink host=127.0.0.1 port=9002<br>
><br>
>  Receiver:<br>
><br>
>   gst-launch-1.0 udpsrc port=9002 caps="application/x-rtp,<br>
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)VP9,<br>
> payload=(int)96" ! rtpvp9depay ! vp9dec ! autovideosink<br>
><br>
> ////////////////////////////////////////////////////////////////////////<br>
><br>
> We have tried different settings of the vp9enc properties for encoding in<br>
> real time, (cpu-used=5  was usefull), but the latency is still too high<br>
> (2-3 seconds). Some suggestion about how we can set element properties of<br>
> vp9enc for real time encoding?.<br>
><br>
> Additionally,  I have to say that if we use vp8enc instead of vp9enc, the<br>
> latency is lower (0.5-1 second). Although the properties are the same for<br>
> both encoder, the properties values used for vp8enc (deadline=1) are not<br>
> valid for vp9enc.<br>
><br>
>  Thanks in advance.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/setting-vp9enc-for-real-time-encoding-tp4677875.html">http://gstreamer-devel.966125.n4.nabble.com/setting-vp9enc-for-real-time-encoding-tp4677875.html</a><br>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</p>