RTSP流的轻量级编码方法?

Lightweight encoding method for RTSP stream?

我想做的是在 Raspberry Pi 上将 RTSP 流保存为带有一些文本覆盖的文件(因此 copy 不是一个选项)。我尝试使用 FFMPEG,但即使使用超快设置,CPU 负载也太高了。是否有更快的编码方法或我缺少的完全不同的方法?

ffmpeg -rtsp_transport tcp -i rtsp://x:y@ip/stream1 -vcodec libx264 -preset ultrafast -crf 0 -segment_time 3600 -t 3600 -f segment -y -strftime 1 -vf drawtext="fontcolor=white:fontsize=30:text='%{localtime}'",drawtext="fontcolor=white:fontsize=30:textfile=text.txt:x=600" /home/pi/NAS1/Elements/Videos/%Y-%m-%d_%H-%M-%S_file.mp4

使用硬件编码器

ffmpeg -codec:v h264_omx -b:v 2048k