Use the following pipeline for video interlacing using gstreamer-1.0.
gst-launch-1.0 filesrc location=/media/card/file_1080i.h265 ! \
omxh265dec ! omxh265enc target-bitrate=10000 control-rate=2 ! \
queue max-size-bytes=-1 ! filesink location=file.h265
In this example, the file is present on the SD card, and the encoded video format is H265.
Important: The Interlace pipeline
supports only the HVEC/H265 mode of VCU.