View Full Version : Lower framerate without changing time or dropping frames?
JELSTUDIO
2nd September 2013, 20:44
I've read around the forum but haven't really found anything that appears to do what I'm looking for. If it's here I've missed it.
I have a video-stream with 50 fps.
I want to turn the stream into 1 fps without losing any frames or altering time.
In effect I want to merge 50 frames into 1.
EDIT to clarify: a 10-second clip of 500 frames is to become a 10-second clip of 10 frames but with the content of all 500 frames merged into those 10 frames (each 50 frames down-sampled, or blurred, into 1 single frame)
Hoping for some ideas :)
Thanks
johnmeyer
2nd September 2013, 21:24
AssumeFPS(1)
JELSTUDIO
2nd September 2013, 21:35
AssumeFPS(1)
Doesn't work. It changes time.
johnmeyer
2nd September 2013, 22:39
Ah, I just saw your edit. That is different than what you originally posted because you originally said you didn't want to lose any frames. If you take 50 frames and average them into one frame, then you have actually lost ALL of your original frames.
However, now that I understand your question, can't you use Merge()?
JELSTUDIO
2nd September 2013, 23:00
I'd have to create 50 streams, each offset by 1 frame, and then do 50 merges to do that... if I'm not mistaken about how the merge command works :)
I have 50 single frames each second. I want to blend these 50 images together into 1 image (it will become blurred by doing so, I understand, but the info from all 50 images will be kept rather than discarded)
I basically want to do this: ConvertFPS(1)
Which obviously doesn't work since it's limited to 2/3 original frame-rate.
I have tried placing multiple convertFPS commands in succession, to lower the frame-rate in steps. That partly works but it becomes visually messy since I can't weigh the frames precisely. If I could have done steps of 1/2 it might have been ok, but the 2/3 limitation introduces a strobe-effect because I can't find a 'clean' division to use.
Gavino
3rd September 2013, 00:13
If I could have done steps of 1/2 it might have been ok, but the 2/3 limitation introduces a strobe-effect because I can't find a 'clean' division to use.
You can reduce the framerate to 1/2, merging pairs of frames, by
Merge(SelectEven(), SelectOdd())
Do this 5 times and you're down to 1/32, then use ConvertFPS() twice, reducing each time to 4/5 of previous, and you get 1/50.
JELSTUDIO
3rd September 2013, 00:42
You can reduce the framerate to 1/2, merging pairs of frames, by
Merge(SelectEven(), SelectOdd())
Do this 5 times and you're down to 1/32, then use ConvertFPS() twice, reducing each time to 4/5 of previous, and you get 1/50.
:thanks: !!! Perfect! :)
I didn't even think about using fractions. I was only focusing on decimal numbers. That solved it. Thank you!!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.