Author Topic: Set framerate down to 1 fps  (Read 89 times)

EQWorry

  • Newbie
  • *
  • Posts: 2
    • View Profile
Set framerate down to 1 fps
« on: October 13, 2017, 12:02:12 PM »
Hi, cool app (!), doing exactly what I need - creating a MJPEG stream for network grabbing and further processing, on an old unused iPod Touch 5 with great camera. Just one thing troubles me. Would it be possible to allow setting framerate one more step down to 1 FPS? Currently the lowest setting is 2 FPS and the iPod cannot do that with the highest quality/size settings, managing about 1.3 FPS. Also, 1 FPS is exactly what I need for the timelapse videos. Thanks for replying and considering a small (hopefully) update! :)
« Last Edit: October 13, 2017, 01:45:02 PM by EQWorry »

Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 2202
    • View Profile
Re: Set framerate down to 1 fps
« Reply #1 on: October 14, 2017, 11:10:58 AM »
Unfortunately the iOS device cameras have specific capture frame rate ranges that they support, and 1 fps is not one of them. :(

If that ever changes we'll be able to support it quite easily, yes. 8)

I am not familiar with your setup, but would you be able to have a 1 second timer on the "grabbing" side of things and simply connect to the JPEG (instead of the MJPEG) ipCam URL to get a single image every second?

EQWorry

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Set framerate down to 1 fps
« Reply #2 on: October 14, 2017, 03:29:39 PM »
Thanks for the answer! Understood about the video framerate.  :) Interesting idea concerning using JPEG images. I use ffmpeg to grab the MJPEG stream over network and encode it to a fast-motion video (changing 1.2 fps to 25 fps). My first attempts at grabbing image repeatedly (using -loop 1 and -framerate 1) and turning them into video is not a complete disaster, but the framerates at input and output are weird, unexpected (by me). Thanks anyway and if you or somebody else have a working knowledge of ffmpeg or an example of a correct command line, it would be great. Meanwhile, I delve into searching and experimenting.  8)