sergeytulyakov / mocogan

MoCoGAN: Decomposing Motion and Content for Video Generation
573 stars 113 forks source link

Dataset Formatter #32

Closed jhawgs closed 3 years ago

jhawgs commented 3 years ago

Is there any code that converts an mp4 (or other video format) to the 2-dimensional jpgs that are input for training that could be included or referenced?

vladyushchenko commented 3 years ago

Hey @jhawgs, you can extract separate frames from mp4 videos using ffmpeg and then you may also find this script helpful to transform separate videos to MoCoGAN input format.

However, you may need to adapt code/structure your sequences in a way that is assumed by the script. Good luck!

jhawgs commented 3 years ago

Sounds good! Thank you!