-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
video artifacts and audio mismatch #1134
Comments
Presumably the transition is just another video file, nothing special about it? Your code looks fine, I can't see an obvious reason as to why you'd be getting this behaviour. Are all input files the same width and height? If they are not then you might want to use Since you are not doing any fancy movie editing techniques, you could try doing it directly using method 2 in this Stack Overflow answer. This avoids re-encoding the videos as well so there should not be a drop in quality. You could use python to call the command with a specific list of input files. Sticking with moviepy, I'd suggest not concatenating all the files together at once. Try making smaller clips, and then concatenating them together at the end. Or you could write the smaller ones to a file, then read them back in and concatenate them together and write out the full one at the end. This shouldn't be necessary but it might work. Does the artefacts and audio mismatch occur on the same video every time, or is it solely based on the time from the start? Providing an example of the output video (and the inputs) would help. |
here is a video I posted on youtube the artifacts happen at random intervals but if I redownload the clips and then re-concatenating them together I get the same artifacts but if I use different clips the artifacts can be different or not there at all. For method 2 in the example given is shown how to do it with a console, how would do this python. I am trying to automate the proccess. |
All the clips are 1080p 60 fps. |
I'd suggest trying concatenating them with |
When using
|
I found the same issue here: I am trying this solution:
|
Ok, if everything is working now can we close this issue? That is definitely a bug that will be fixed in the next version, as it seems to be affecting a lot of users. |
Yea the code works now and I get the proper output, thank you. |
The following code opens a folder of videos with a naming convention of: order# videoname transition(1)/video(0)
ex. 100surfing1
then concatenates them all together into one video.
This also only keeps adding them until the videos add up to 10 minutes.
Expected Behavior
One big video which is 10 minutes which is made out of transition, video, transition, video....
Actual Behavior
It does make this video but there are video artifacts halfway through and audio is mismatched halfway through.
Steps to Reproduce the Problem
You need to have a folder full of videos that at least add up to 10 minutes. And an output folder which stores finished videos.
Im using mp4's as the videos, if that means anything.
Specifications
The text was updated successfully, but these errors were encountered: