25. Video
• A Python module for video editing, video compositing,
video processing, or to create advanced effects.
• It can read and write the most common video formats,
including GIF.
• https://github.com/Zulko/moviepy
26. Advantages and limitations
• Do I need MoviePy ?
• 有處理理⼤大量量影片的需求
• 透過 web server ⾃自動產⽣生影片
• 影片編輯器沒有我想要的特效
• MoviePy is NOT the best solution:
• frame-by-frame video analysis(OpenCV)
• only want to convert a video file(ffmpeg)
• limitations: streaming, memory problems
28. Basic concepts
• The central objects of MoviePy are clips
• VideoClips: created from a video file, an image, a
text, or a custom animation.
• AudioClips: very similar to video clips. A notable
difference be composed
audioclip.get_frame(t)
• Positioning clips