我有带内管的工作管:
gstd-client pipeline_create recording_pipe interpipesrc name=rec_intpsrc listen-to=cam_src is-live=true allow-renegotiation=true enable-sync=false format=time ! queue max-size-buffers=3 leaky=downstream flush-on-eos=true ! imxvpuenc_h264 bitrate=4096 ! h264parse ! splitmuxsink location=/tmp/rec_%03d.mpg max-size-time=60000000000 max-files=4 muxer=mpegtsmux
现在,我想叠加时钟,但无法实现。尝试了许多变体,例如:
gstd-client pipeline_create recording_pipe interpipesrc name=rec_intpsrc listen-to=cam_src is-live=true allow-renegotiation=true enable-sync=false format=time ! queue max-size-buffers=3 leaky=downstream flush-on-eos=true ! clockoverly ! imxvpuenc_h264 bitrate=4096 ! h264parse ! splitmuxsink location=/tmp/rec_%03d.mpg max-size-time=60000000000 max-files=4 muxer=mpegtsmux
文件已保存和管理,但没有覆盖。根据参考,我有完整的工作流:
gstd-client pipeline_create stream_pipe interpipesrc name=stream_intpsrc listen-to=cam_src is-live=true allow-renegotiation=true enable-sync=false ! queue max-size-buffers=3 leaky=downstream ! clockoverlay shaded-background=true font-desc="Nimbus mono" valignment=1 ! textoverlay shaded-background=true font-desc="Nimbus mono" valignment=1 halignment=2 text="Live" ! imxvpuenc_h264 ! mpegtsmux alignment=0 ! tcpserversink host=0.0.0.0 port=1234 sync=true
任何想法???