Anyone understand how the BI Time Lapse setting work

JHW

Getting the hang of it
Jul 21, 2019
25
41
West Virginia
I have about 50- 4G each videos of my garage being built, and I plan on making a time lapse video. The Dahua produced H.265 @7fps .bvr. I've been fiddling with time lapse functions, but I'm not quite sure how the setting interact. I'm exporting to H.264. My speed multiplier is 60 and Playback fps is 7. If I were to increase my fps to 30, would BI create a faster playback or would it stuff extra duplicate frames into the 7 that are already recorded. If the latter then I should just keep 7, but if the former then it seems that BI would produce a faster and smoother video if I use 30. Also on the encoder configuration, I don't understand the Target key frame interval (GOP), which goes from 10 to who knows what. I thought perhaps I should be using 7 to match my fps, but since it starts at 10, I opted for 14 so that it stays in sync with 7. Am I totally missing what the frame interval is?

Hmm. It's not helping me that mediainfo reports my same media file is 7fps and Shutter Encoder says it's 30fps.

The 60x time lapse export came out 1:26min video is 1.13G @ 7fps 3840x2160, data rate 113157kbs
To compare The H.265 mp4 export is 6:41min video is 307M@ 7fps 3840x2160, data rate 6398kbs

Not sure what is pushing on that data rate? The time lapse is six time shorter but three time larger file size.

Update: I'll have to run some tests, but I took a 4G .bvr and exported at:
speed multiplier 1.0
Playback fps: 30.0 this was upscaled from original 7fps
encoder configuration, Target Key frame interval GOP: 14
End result was a 60G file H.264@14fps that played at the same speed as the original. I would have thought that instead of stuffing duplicate frames during export BI would have simply adjusted the time scale and the playback would have doubled. Do I need to explicitly set both fps and multiple to be in harmony? If I do that will BI make use of all the information or will it be duplicating frames, and why did I end up with 14fps and not 30fps?

Update: Upon further investigation, Mediainfo and shutter Encoder both report at 30fps and keyframe GOP of 14. But it seems Windows 11 explorer window is reporting the frame rate as 14 fps
This site has some good info on key frame rates that I'm just learning: What is a Keyframe Interval? Choosing the Right One

Update: I was wrong. I guess my .bvr file was originally 14 fps. I did some encoding trials on an I7-9700T, just FYI if anyone's interested.
1765221774791.png
 
Last edited:
Another option, for a future project, is to use Blue Iris to capture a JPEG image every minute as an example. Or on a time schedule of your choosing (m:ss.s) in place of the built in BI time lapse function. These individual JPEG images can be placed in the 'stored' BI folder in the 'record' and 'JPEG's' section for the selected camera in BI.

Then use a free program (Shutter Encoder) to place all of the individual images into a time lapse as show below. This is 5 hours condensed into 65 seconds. One image taken at 10 second intervals.

View attachment water-damage-fix.mp4

Find that it is much faster than using the built in BI time lapse function.
 
Last edited:
Another option, for a future project, is to use Blue Iris to capture a JPEG image every minute as an example. Or on a time schedule of your choosing (m:ss.s) in place of the built in BI time lapse function. These individual JPEG images can be placed in the 'stored' BI folder in the 'record' and 'JPEG's' section for the selected camera in BI.

Then use a free program (Shutter Encoder) to place all of the individual images into a time lapse as show below. This is 5 hours condensed into 65 seconds. One image taken at 10 second intervals.

View attachment 234040

Find that it is much faster than using the built in BI time lapse function.
Thanks. That's a good Idea. For this project I actually wanted to keep the detailed videos for my own instructional record keeping, for when I get into a "how did they do that", or "how was that put together", I can view the detail, right down to how long it took the concrete to set up and how long they spent floating it. I just wanted to make an additional quick 5 min video covering the whole build. BI has some weird settings that aren't fully explained in the manual. I think BI's time lapse function on recording is different from BI's time lapse function on export. On recording it eliminates any lapses in non-productive video, but on export it speeds up the video.
 
  • Like
Reactions: Flintstone61