door bell with cam - issues recording and picture taking

Steam recording with RTMPDump or FFmpeg.
Post Reply
HomerSim
Posts: 1
Joined: Sun May 26, 2019 5:18 pm

door bell with cam - issues recording and picture taking

Post by HomerSim » Sun May 26, 2019 7:07 pm

Hello

I am new with ffmpeg and this forum. My project is a door bell with a camera and every thime asomeone is pressing the ring cam is starting and ffmpeg should record 30 sec to mp4 and in parallel I want to save three pictures at 1,15 and 30 seconds.

cam starting is working.
picture taking works but not only three
a mp4 stream is recorderd but it is a kind of timelap. and running only for 7 seconds instead of 30.

This is my ffmpeg command and I would really appreciate any help.

Code: Select all

ffmpeg -i "http://192.168.100.111:9000/?action=stream" -f image2 -vf fps=1 /home/pi/cam/image%03d.jpg -f image2 -vf fps=1/15  /home/pi/img%03d.jpg -vcodec copy -an -bufsize 2048k -t 00:00:30 -y
Thanks a lot

Post Reply
'