Skip to content

[Bug]: Missmatch between number of frames and frames in folder  #22

Description

@2thecurve

What happened and why was it ungood?

I was making a video 24fps, 1440 frames and at the end of deforum it's suppose to delete images and combine the images to video and been getting this error

there was a mismatch between # of frames in folder, and # of frames in actual video.

It combines the images to video, but video is incomplete and fails to open. Also images do not delete.

Old pc ran it fine, bought a new pc and started having this issue.

I have to manually ffmpeg images together and delete images

Here is the full error:

Stitching video...
Video stitching done in 22.56 seconds!
Deleting raw images, as requested:
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000213cbf25d00] moov atom not found
[ WARN:2@13997.832] global cap.cpp:166 cv::VideoCapture::open VIDEOIO(CV_IMAGES): raised OpenCV exception:

OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\videoio\src\cap_images.cpp:274: error: (-215:Assertion failed) number < max_number in function 'cv::icvExtractPattern'

Did not delete imgs as there was a mismatch between # of frames in folder, and # of frames in actual video. Please check and delete manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions