facebookresearch / AnimatedDrawings

Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
MIT License
10.53k stars 919 forks source link

FFMPEG deal with mp4 ERROR #255

Closed Andy-Ren closed 9 months ago

Andy-Ren commented 9 months ago

The generated file in mp4 format is read by ffmpeg for post-processing. The first few frames are fine, but all subsequent frames have problems.

/root/miniconda3/envs/animated_drawings/lib/python3.8/site-packages/moviepy/video/io/ffmpeg_reader.py:123: UserWarning: Warning: in file /var/tmp/magicdoodles/artwork/abcdefgh/g3DGKcDQ/video.mp4, 360000 bytes wanted but 0 bytes read,at frame 539/561, at time 17.97/18.67 sec. Using the last valid frame instead. warnings.warn("Warning: in file %s, "%(self.filename)+