-
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
Audio gets curropted when extracting #1717
Comments
I'd ask you to amend your issue so all the information we ask for in the |
Added. |
After someone answered my SO question here his solution seems to work - simply taking a subclip instead of the clip (in this case of one second) makes the audio function. But I still don't understand why it won't work for the given video without specifying the subclip length (I want it to be dynamic and take any video I present). @keikoro if you think this is not a bug - i will close the issue. The solution that worked for the case I presented in the "how to reproduce":
credit to hmody3000 from SO |
Definitely a bug and still very present |
anyone found a solution or workaround? |
a simple code like this is creating a curropted audio file for some reasons:
-->
Expected Behavior
Audio should be the same as the audio in the video
Actual Behavior
audio is curropted in the end (repeats the end segment a few times like a broken record)
Steps to Reproduce the Problem
Run the code on this video with latest moviepy version (don't make fun it's just a trial lol):
https://user-images.githubusercontent.com/26500236/149655475-bdd9ffa6-69dc-4d6b-ad32-5789907e42ca.mp4
and you will get this audio which is curropted (compressed it to a zip because github doesn't allow mp3 uploads):
temp-audio.zip
Specifications
The text was updated successfully, but these errors were encountered: