Intel GPU hardware acceleration + cluttersink

horai ivo.hora at seznam.cz
Mon Oct 2 22:05:56 UTC 2017


Dear all, 

Today I tried to modify my current Gstreamer pipeline:
sudo gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" !
rtph264depay ! h264parse ! avdec_h264 ! autovideosink sync=false

I wanted to replace software avdec_h264 encoder with INTEL Vaapi hardware
encoding plugin 'vaapiencode'
The new pipeline should look like this:
gst-launch-1.0 -v udpsrc port=5000 caps="application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" !
rtph264depay ! h264parse ! vaapidecode ! videoconvert ! cluttersink
sync=false
I guess the caps are compatible.

But it yields this message and I cannot run the video:
WARNING: erroneous pipeline: could not link videoconvert0 to
cluttergstvideosink0

According to this page it should work:
http://gstreamer-devel.966125.n4.nabble.com/vaapidecode-to-xvimagesink-td4664635.html

Does anyone know what I am doing wrong.
I have version:
Provides: 
1.2.4-0ubuntu1.1 - 
1.2.3-1 -

Thank you very much




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


More information about the gstreamer-devel mailing list