vaapi, tee and pango overlay

Wolfgang Grandegger wg at grandegger.com
Fri Jun 15 12:43:55 UTC 2018


Am 14.06.2018 um 20:57 schrieb Wolfgang Grandegger:
> Am 14.06.2018 um 20:53 schrieb Nicolas Dufresne:
>> Le jeudi 14 juin 2018 à 19:35 +0200, Wolfgang Grandegger a écrit :
>>> still trying to understand how things could be done efficiently with
>>> GStreamer. Next I would like to receive and display a JPEG encoded
>>> RTP-Stream and write it in H.264 format to a file at the same time. Here
>>> is the pipeline I use:
>>>
>>> # gst-launch-1.0 udpsrc port=50004 \
>>>   ! application/x-rtp,encoding-name=JPEG,payload=26 \
>>>   ! queue ! rtpjpegdepay ! vaapijpegdec ! timeoverlay \
>>>   ! tee name=t \
>>>   t. ! queue ! vaapipostproc ! kmssink \
>>>   t. ! queue ! vaapih264enc ! filesink location=/tmp/test.h264
>>>
>>> This does not work! The screen goes black and nothing is recorded to the
>>> file. But it work without "timeoverlay" and also with "jpegdec" instead
>>> of "vaapijpegdec". Both streams also work without tee: Is this a known
>>> issue with VAAPI... or have I missed something!
>>
>> Have you thought of adding vaapipostproc right after the decoder ?
> 
> I already tried that! It doesn't help.

FYI, I updated GStreamer from 1.12.2 to 1.14.1 and now it works with
"vaapisink" instead of "kmssink". "vaapisink" needs X11. It never worked
for me with DRM, even if "gst-inspect-1.0" is listing the option.

Thanks,

Wolfgang.


More information about the gstreamer-devel mailing list