Gstreamer VAAPI decoder plugins run much slower than software decoder plugins

skyline220 blinkrules0182 at gmail.com
Thu Dec 6 20:42:21 UTC 2018


Hi All,

I was able to install the VAAPI based G-Streamer plugins on an Intel Kaby
Lake i5-7300U chip. To my surprise, I get only 1/3 the framerate with the
VAAPI JPEG decoding plugin as I do with the software plugins. Here is my
sender pipeline:

gst-launch-1.0 v4l2src device=/dev/video1 do-timestamp=true !
video/x-raw,format=I420,width=1920,height=1080,framerate=60/1 ! jpegenc !
rtpjpegpay ! multiudpsink clients=192.168.0.7:5000

Here is my receiver side pipeline where I attempt the VAAPI plugin and only
get 11 FPS: 

gst-launch-1.0 udpsrc port=5000 buffer-size=2000000 !
application/x-rtp,encoding-name=JPEG,payload=26,framerate=60/1,width=1920,height=1080
! rtpjpegdepay ! vaapijpegdecode ! fpsdisplaysink

Here is my receiver side pipeline where I attempt the software JPEG plugin
and I get 33FPS:

gst-launch-1.0 udpsrc port=5002 buffer-size=2000000 !
application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec !
videoconvert ! autovideosink

I also noticed I am not getting a full 60FPS in either pipeline, any idea
why that is?

Thanks




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list