Corrupted videos #2368
Unanswered
Lexian-droid
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, it works for me output.mp4My guess this has something to do with either a bad codec argument (try leave it empty), or something to do with the: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am making my first "Real" python application, and I am wanting to take the images from a directory and combine them into a video file, and if it has any text on it, you can add the text and it calculates how long to show that slide to allow for reading.
I've already got everything set up (well not everything, one more big thing, but rendering is bigger) but now I am trying to actually render the video, here is my renderer class:
Note: I am sorry if my class is ugly, I'm still quite new to python, and whilst most of the skills from other languages transfer to python, I still struggle to write it on account of the drastically different syntax. (Mainly a PHP dev and a little C#)
Would anyone happen to know why my videos aren't coming out properly?
Output
Also here is the broken video for if needed:
2025-02-09.05_19_06.mp4
Logs
Also, when running the script for the public (using AI generated images, mainly) it gave out this output, it didn't do that last time, but also last time it was using jpeg images:
(note this has the same result, a corrupted video)
Sample data
And on the off chance it is needed here are the images used:



Beta Was this translation helpful? Give feedback.
All reactions