Capturing Time Laps without using SD card
 
Notifications
Clear all

Capturing Time Laps without using SD card  

  RSS
Armand
(@armand)
Trusted Member
Capturing Time Laps without using SD card

Hi;
Well now if you do not want to use the SD card in the camera to capture your video , you can use a windows or linux networked pc or a raspberry PI to capture the stream using ffmpeg 

once ffmpeg is installed , you can can use :
ffmpeg -rtsp_transport tcp -i rtsp://:554/live  -vf "fps=1/5" -t 01:00:00 -qscale:v 2 timelapse_%03d.jpg

fps=1/5: Capture 1 frame every 5 seconds (so adjust this accordingly)
-t 01:00:00: Capture duration (so adjust this accordingly)
-qscale:v 2: High quality

once done then you can compile the jpegs into a video
ffmpeg -framerate 24 -i timelapse_%03d.jpg -c:v libx264 -pix_fmt yuv420p timelapse.mp4

hope this helps anyone out there
Happy Printing  😏 

 

Posted : 02/07/2025 7:30 pm
4 people liked
LarGriff
(@largriff)
Reputable Member
RE: Capturing Time Laps without using SD card

Don’t you need the camera’s IP address?

Posted by: @armand

Hi;
Well now if you do not want to use the SD card in the camera to capture your video , you can use a windows or linux networked pc or a raspberry PI to capture the stream using ffmpeg 

once ffmpeg is installed , you can can use :
ffmpeg -rtsp_transport tcp -i rtsp://<ipaddress>:554/live  -vf "fps=1/5" -t 01:00:00 -qscale:v 2 timelapse_%03d.jpg

fps=1/5: Capture 1 frame every 5 seconds (so adjust this accordingly)
-t 01:00:00: Capture duration (so adjust this accordingly)
-qscale:v 2: High quality

once done then you can compile the jpegs into a video
ffmpeg -framerate 24 -i timelapse_%03d.jpg -c:v libx264 -pix_fmt yuv420p timelapse.mp4

hope this helps anyone out there
Happy Printing  😏 

 

 

MK4S/MMU3

Posted : 04/07/2025 2:07 pm
1 people liked
Armand
(@armand)
Trusted Member
Topic starter answered:
RE: Capturing Time Laps without using SD card

Hi

   You are correct. Seems the original post threw away the <Camera IP address> that was between the gt and lt signs :
ffmpeg -rtsp_transport tcp -i rtsp://<Camera IP address>:554/live  -vf "fps=1/5" -t 01:00:00 -qscale:v 2 timelapse_%03d.jpg

Posted : 04/07/2025 2:19 pm
1 people liked
Share: