Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken frames in video #2

Open
korabelnikov opened this issue Dec 17, 2019 · 3 comments
Open

Broken frames in video #2

korabelnikov opened this issue Dec 17, 2019 · 3 comments

Comments

@korabelnikov
Copy link

see antingshen#164

@manishs17
Copy link

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)

@korabelnikov
Copy link
Author

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

@manishs17
Copy link

sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants