Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.07k stars 1.51k forks source link

Saving the same video clip twice will yield different results #2157

Open kongzhecn opened 2 months ago

kongzhecn commented 2 months ago

Saving the same video clip twice will yield different results. Specifically, there may be differences in the starting frame of the same video clip, with the first saved video frame having motion and the second saved video frame being stationary.

Expected Behavior

The movements of the two video clips should be completely consistent.

Actual Behavior

The comparison results are shown as follows (I only captured the different frames in the video.):

https://github.com/Zulko/moviepy/assets/43921423/453c6354-6e04-45ee-9e7e-4e3f32ff3857

Snipaste_2024-04-19_21-34-35

The whole videos are as follows:

First saved video:

https://github.com/Zulko/moviepy/assets/43921423/fabd191e-b675-4c62-81b2-bd6f5b9b9c5c

Second saved video:

https://github.com/Zulko/moviepy/assets/43921423/40e9d713-d0e9-4f8b-b54d-d473f23f7538

Steps to Reproduce the Problem

Specifications