Ericsson/eva

Broken frames in video

Opened this issue · 3 comments

Check this line,

os.path.join(img_dir_abs, '%04d.{}'.format(img_ext))], check=True)

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)

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

sure.