vaapi, tee and pango overlay

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jun 14 18:53:24 UTC 2018


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 ?

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180614/44aa2a5b/attachment.sig>


More information about the gstreamer-devel mailing list