rotemtzaban / STIT

MIT License
1.2k stars 170 forks source link

Duration of out.mp4 is messed up #28

Closed icookycom closed 2 years ago

icookycom commented 2 years ago

Hi

The out.mp4 time duration results to be longer than original video becouse of this line in imageio.mimwrite(os.path.join(folder_path, 'out.mp4'), frames, fps=18, output_params=['-vf', 'fps=25'])

18 must be changed to 25 to fix this issue

rotemtzaban commented 2 years ago

Hi, Thank you for raising this issue, not sure how I missed it :sweat_smile: I'll fix it soon