vaapi, tee and pango overlay

Wolfgang Grandegger wg at grandegger.com
Thu Jun 14 18:57:51 UTC 2018


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.

Wolfgang.


More information about the gstreamer-devel mailing list