After that I need to perform extraction to an .avi or .mp4 file while applying rotation and blurring of the faces (anonymization) using built-in body tracking (head position). Unfortunately on Jetson Orin NX it takes enormous amount of time (up to x10-15 of the original video duration).
Based on a basic profiling most of the time takes actual encoding. In the official ZED SDK sample cv2.VideoWriter_fourcc is used. I tried to use ffmpeg and Python pipes to speed up the process but it didn’t end with any significant performance boost.
What are the most optimal params for ffmpeg to use Jetson hardware acceleration for video extraction from .svo files ? Is there an alternative way of doing that ?
Hi,
Looks like it uses software encoding in the sample. You may try to integrate hardware encoding with it. We support hardware encoding in gstreamer and jetson_multimedia_api. Please check