
EVA SDK User's Manual
Image Processing Plugins
41
4.1.13.1 Example Using gst-launch
gst-launch-1.0 videotestsrc ! videocrop top=42 left=1 right=4 bottom=0 !
xvimagesink
Note
: The element ‘xvimagesink’ is only supported on Linux. It is recommended to use the ‘glimagesink’ or
‘d3dvideosink’ elements to display the window on Windows.
4.1.14 x264enc
This element encodes raw video into H264 compressed data, otherwise known as MPEG-4 AVC (Advanced Video
Codec).
For more details, refer to the official documentation at:
https://gstreamer.freedesktop.org/documentation/x264/?gi-language=c
4.1.14.1 Example Using gst-launch
This pipeline encodes a test video source to H264 using fixed quantization, and muxes it in a Matroska container.
gst-launch-1.0 videotestsrc num-buffers=1000 ! x264enc pass=quant ! matroskamux !
filesink location=x264enc.mkv
Note
: Some settings, including the default settings, may lead to considerable latency (i.e. frame buffering) in the
encoder. This may cause problems with pipeline stalling in non-trivial pipelines, because the encoder latency is
often considerably higher than the default size of a simple queue element. Such problems are caused by one of the
queues in the other non-x264enc streams/branches filling up and blocking upstream. They can be fixed by relaxing
the default time/size/buffer limits on the queue elements in the non-x264 branches, or using a (single) multiqueue
element for all branches. Another workaround for this problem is setting the tune=zerolatency property, but this will
affect overall encoding quality so may not be appropriate for every use case.
4.1.15 x265enc
This element encodes raw video into H265 compressed data.
Note
: Only supported on Linux.
For more details, refer to the official documentation at:
https://gstreamer.freedesktop.org/documentation/x265/?gi-language=c
4.1.15.1 Example Using gst-launch
This pipeline encodes a test video source to H265 and muxes it in a Matroska container.
gst-launch-1.0 videotestsrc num-buffers=2000 ! x265enc ! h265parse ! matroskamux !
filesink location=x265enc.mkv
Summary of Contents for EVA SDK
Page 1: ...EVA SDK User s Manual Manual Rev 1 2 Revision Date July 20 2021 Part Number 50M 00010 1020...
Page 4: ...iv Preface This page intentionally left blank...
Page 8: ...4 Introduction This page intentionally left blank...
Page 10: ...6 Setting Environment Variables This page intentionally left blank...
Page 78: ...74 Image Processing Plugins This page intentionally left blank...
Page 110: ...106 Convert for OpenVINO Model This page intentionally left blank...