eva icon indicating copy to clipboard operation
eva copied to clipboard

Broken frames in video

Open korabelnikov opened this issue 6 years ago • 3 comments

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

korabelnikov avatar Dec 17 '19 14:12 korabelnikov

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)

manishs17 avatar Dec 18 '19 08:12 manishs17

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

korabelnikov avatar Dec 20 '19 08:12 korabelnikov

sure.

manishs17 avatar Dec 20 '19 09:12 manishs17