Comments (1)
It is due to incorrect reporting of audio length by ffmpeg. This causes moviepy to read frame outside of the audio which results in artifact being added towards the end of the audio. I fixed this issue by taking subclip of the audio file by audio_clip = audio_clip.subclip(0, audio_clip.duration - 0.05)
or you can define the audio path while writing the final clip. You can also refer #1936 for alternate solutions.
from moviepy.
Related Issues (20)
- ImageMagick Binary Not Found HOT 4
- King1
- Error fps in generated gif file of `write_gif_with_image_io`
- commas in filterchain are always escaped by a backslash
- Operation on closed image
- AudioClip.iter_chunks(160) is chunking into [159, 160, 160, ..., 160]
- The position of subclip cutting is different from the parameters HOT 1
- Output resolution wrong. HOT 1
- Workflows need updating
- No longer encoding subtitles HOT 2
- AttributeError: 'NoneType' object has no attribute 'get_frame', reported by AudioFileClip.to_soundarray() HOT 1
- Test suite fails for most Windows, Linux tests HOT 2
- Test suite fails for macOS due to missing Conda install
- support latest decorator
- Unable to run moviepy on debian 10 HOT 8
- No sound HOT 1
- how to keep the aspect ratio for my vertical video? HOT 5
- I cut 1800 seconds of audio, but the result is 1846 seconds. Why is this happening? How can I solve this problem?
- Resizable rounded rectangle
- Getting `AttributeError: 'NoneType' object has no attribute 'get_frame'` when trying to save a `CompositeVideoClip`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moviepy.