Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我找到了命令
ffmpeg -i rtsp://10.2.69.201:554/ch0_0.h264 -f image2 -vf fps=fps=1/120 img%03d.jpg
但如果我不在网络上,它就会失败。我在我的电脑上试过,但我有绑定错误。我想要一个类似的命令或这些命令的混合:
ffmpeg -f v4l2 -s 640x480 -i /dev/video0 output.mpg
谢谢你的帮助。如果可能的话,我们将不胜感激
好吧,经过大量的工作,我找到了它。这意味着阅读错误消息。这是关键,你总是提到它:
ffmpeg -f v4l2 -s 640x480 -i /dev/video0 -bt 20M -vf fps=1 img%03d.jpg
这段代码工作简单而完美。我希望你喜欢。谢谢大家