Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty in interpreting timelens video output #20

Open
Rishabh-Samra opened this issue Aug 28, 2021 · 0 comments
Open

Difficulty in interpreting timelens video output #20

Rishabh-Samra opened this issue Aug 28, 2021 · 0 comments

Comments

@Rishabh-Samra
Copy link

So I used your uploaded notebook TimeLens.ipynb for interpolating video frames. So I gave input 595 images in the format specified and was expecting output as interpolated image frames. I didn't understand how you calculated inserts using the formula mentioned as for my case, np.diff(timestamps).mean() is coming to be 10^7(why numerator for calculating fps has a value of 10^6?). Since I was expecting 10 inserts, I manually specified that value. Also I had done two sets of experiments where I have taken target_fps =600 and 1000

After running the timelens cell, I got as an output around 6545 image frames and two videos namely input.mp4(duration=200 sec) and interpolation.mp4(220 sec). After running the final cell using ffmpeg command, I also got output as a video: timelens.mp4(260 sec). Another doubt is for both value of target_fps I am getting the same videos as output and also number of interpolation frames were same. So for our case is it correct to say input fps=2.7(595/220) and output fps = 25(6545/260)?

I am finding difficult to interpret the output of the above mentioned 3 videos and 4th video that I can form after combining output images at my custom fps. Say if I am looking for generating 600 fps video, I will get a video of duration 10 sec from output video.
Please help me out to interpret the above mentioned 4 videos of the output too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant