entrial 发表于 2023-12-28 11:46:43

ffmpeg暂停录制和恢复录制

我现在正在使用ffmpeg进行rtsp流的录制操作,命令如下
ffmpeg -rtsp_transport tcp -i rtsp://10.3.27.2/chn1 -c:v libx264 -r 30 output.mp4
我知道了能够按一下q,退出录制。
请问,在录制的过程中,我想要暂停一下,需要按什么按钮;然后过一段时间,可以通过再按一个按钮恢复录制。我应该如何做。

孙悟空 发表于 2023-12-30 18:08:10

目前没有暂停+继续的功能
一般是按一下 c或者 C 会有个暂停 ?      show this help
+      increase verbosity
-      decrease verbosity
c      Send command to first matching filter supporting it
C      Send/Queue command to all matching filters
h      dump packets/hex press to cycle through the 3 states
q      quit
s      Show QP histogram
页: [1]
查看完整版本: ffmpeg暂停录制和恢复录制