vp8 v/s vp9 encoder in terms of performance
Saurabh Bora
saurabh9bora at gmail.com
Tue Mar 26 10:21:45 UTC 2019
Hi,
Following are my CPU specs:
Name - Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
MaxClockSpeed - 2712
Number of Cores - 2
Number of Logical Processors - 4
Physical RAM - 16 GB
Following are cpu usage details:
1) With vp8 encoder, I get 100% CPU usage
2) With vp9 encoder, I get 100% CPU usage along with following additional
messages:
//------------------------------------------------------------------------------------------------------------
WARNING: from element
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
A lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2902): gst_base_sink_is_too_late ():
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstD3DVideoSink:autovideosink0-actual-sink-d3dvideo:
There may be a timestamping problem, or this computer is too slow.
//---------------------------------------------------------------------------------------------------------------
Thanks and Regards,
Saurabh Bora
On Mon, Mar 25, 2019 at 10:18 PM Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:
> Le lundi 25 mars 2019 à 21:50 +0530, Saurabh Bora a écrit :
>
> Hi,
> As suggested I added the property deadline=1 to the pipeline
> gst-launch-1.0 videotestsrc ! autovideoconvert ! vp8enc deadline=1 !
> vp8dec ! autovideosink
>
> Still video streaming lags significantly when vp9 encoder is used.
>
> Can you please help understand when must one use vp9 over vp8 and vice
> versa?
> Or is there a way to use vp9 encoder and achieve same performance as that
> of vp8 encoder?
>
>
> VP9 is a much more complex CODEC. Did you consider of checking your CPU
> usage ? Maybe your CPU is just not fast enough for real-time vp9.
>
>
> On Mon, Mar 25, 2019 at 8:35 PM Nicolas Dufresne <nicolas at ndufresne.ca>
> wrote:
>
> Le lundi 25 mars 2019 à 18:35 +0530, Saurabh Bora a écrit :
>
> Hi Experts!
>
> I am using a dummy pipeline below to test performance of vp8 encoder v/s
> vp9 encoder
> gst-launch-1.0 videotestsrc ! autovideoconvert ! vp8enc ! vp8dec !
> autovideosink
>
> Just replace vp8 by vp9 to use vp9 encoder in the pipeline.
>
> My observation is that, video streaming in case of vp9 encoder lags
> significantly as compared to vp8 encoder.
>
> Can you please help me understand, when should one use vp9 over vp8 or
> vice versa?
>
>
> For live streaming with vp8/vp9 encoder, you could configured the
> deadline, otherwise the encoder will run in "offline" mode and will take
> quite variable amount of time per frame and may not be real-time in the
> end. Try deadline=1 as an example.
>
>
> --
> Thanks and Regards,
> Saurabh Bora
>
> PH NO : 7038166900
> EMAIL : saurabh9bora at gmail.com
> saurabh9bora at outlook.com
>
> _______________________________________________
>
> gstreamer-devel mailing list
>
> gstreamer-devel at lists.freedesktop.org
>
>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
>
> gstreamer-devel mailing list
>
> gstreamer-devel at lists.freedesktop.org
>
>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
Thanks and Regards,
Saurabh Bora
PH NO : 7038166900
EMAIL : saurabh9bora at gmail.com
saurabh9bora at outlook.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190326/492a929a/attachment-0001.html>
More information about the gstreamer-devel
mailing list