Ericsson / eva

EVA is a web-based tool for efficient annotation of videos and image sequences and has an additional tracking capabilities
BSD 2-Clause "Simplified" License
121 stars 25 forks source link

Broken frames in video #2

Open korabelnikov opened 4 years ago

korabelnikov commented 4 years ago

see https://github.com/antingshen/BeaverDam/issues/164

manishs17 commented 4 years ago

Check this line,
https://github.com/Ericsson/eva/blob/717a2c49306445f35bfdf917a3f53e35361a0d47/annotator/tasks.py#L170

Seems , you had more than 4 digits long names for image files, a long sequence I mean thus the files were not sorted properly. for the time being you can increase this number.

 try:
        subprocess.run([settings.FFMPEG_BIN, '-i', video_file,
                        os.path.join(img_dir_abs, **'%04d.**{}'.format(img_ext))], check=True)
korabelnikov commented 4 years ago

Thank you, but bug in different code. I can share fix here if interested

manishs17 commented 4 years ago

sure.