Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Output interpolated image frames are of different size then input frames? #101

Open
Rishabh-Samra opened this issue Oct 25, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Rishabh-Samra
Copy link

I tried to generate slow motion videos without using ffmpeg, i.e using opencv-python by running this command:
python eval.py data/input.mp4 --checkpoint=data/SuperSloMo.ckpt --output=data/output.mkv --scale=3
Here the input video had, say, 175 frames, then using the following command, I tried to get individual output frames of the output video:
ffmpeg -i /path/to/output.mkv /path/to/out_frames/%06d.png .

But if original image frames have size of (175,315) then output of slomo which are interpolated frames all has size of (174,314).
My doubt is exactly where the size of the image is reduced and how we can ensure we get correct interpolated frames with the same size?
Can someone please mention in detail the steps I should follow for the same?
This will be of great help!

@Rishabh-Samra Rishabh-Samra added the bug Something isn't working label Oct 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants