我在Raspbarry Pi上安装了mjpg-streamer,它运行良好。 但是如何在我的SD卡中保存电影?
我尝试了mjpg-streamer/mjpg-streamer-experimental/mjpg_streamer -i "mjpg-streamer/mjpg-streamer-experimental/input_uvc.so" -o "mjpg-streamer/mjpg-streamer-experimental/output_http.so -w mjpg-streamer/mjpg-streamer-experimental/www"
,但不知道该怎么办。
答案 0 :(得分:0)
答案 1 :(得分:0)
您使用output_file.so插件。因此请查看选项:
mjpg-streamer -o "output_file.so --help"
获得:
Help for output plugin..: FILE output plugin
---------------------------------------------------------------
The following parameters can be passed to this plugin:
[-f | --folder ]........: folder to save pictures
[-m | --mjpeg ].........: save the frames to an mjpg file
[-l | --link ]..........: link the last picture in ringbuffer as this fixed named file
[-d | --delay ].........: delay after saving pictures in ms
[-i | --input ].........: read frames from the specified input plugin
The following arguments are takes effect only if the current mode is not MJPG
[-s | --size ]..........: size of ring buffer (max number of pictures to hold)
[-e | --exceed ]........: allow ringbuffer to exceed limit by this amount
[-c | --command ].......: execute command after saving picture
使用-m将流保存到运动jpg文件。如果您不想保存所有输入帧,请使用-d在保存的帧之间延迟