jjihwan / FIFO-Diffusion_public

Official implementation of FIFO-Diffusion
https://jjihwan.github.io
277 stars 17 forks source link

MP4 rather than GIF #5

Closed SoftologyPro closed 1 month ago

SoftologyPro commented 1 month ago

Please save final movie as MP4 and not GIF. GIF has reduced colors and color banding.

SoftologyPro commented 1 month ago

For anyone who wants to, replace line 102 in videocrafter_main.py from imageio.mimsave(output_dir+"/fifo.gif", video_frames[-args.new_video_length:], duration=100) to imageio.mimsave(output_dir+"/fifo.mp4", video_frames[-args.new_video_length:])

jjihwan commented 1 month ago

You can now use "--use_mp4" option!