
Learn to edit any video with Python code, extract movie data, convert videos to animated gifs, apply a variety of video effects, and resize or crop.
Set up your Python development space in PyCharm, create a new project, and configure a virtual environment with Python 3 or newer. Install MoviePy to enable video editing.
Create a single color video by loading movie pie, configuring a color clip with rgb values, duration, and frame rate, then writing the output to a video file.
Discover how to extract video properties with Python using moviepy, including width, height, duration, and frame rate, by loading an mp4 with VideoClip and installing via pip.
Convert any image sequence into a movie with Python by loading images, ensuring all are the same size, setting frames per second, and saving the video file.
Load the movie by module, load the video from disk, rotate it by 90 degrees or 180 degrees, and write the output to a file.
Convert any video to an animated gif using the movie pie module; load the video, set the output name, and run the conversion, with optional sub clip cuts.
Learn to concatenate video clips in Python using moviepy, define clips, join them in series with concatenate video clips, and write the combined result to an output file.
Learn to stack clips in Python by building a clip array, control the order, and write the stacked result to an output video file.
Learn to speed up or slow down videos in Python using the movie module with a video clip and a speed factor, then save the result.
Learn to apply video effects in Python, adjusting brightness, fading in and out, and applying mirror, black-and-white, and color inversion to video clips.
Resize videos by applying the resize effect in Mowafi, importing a clip, and specifying a new width to generate and save a resized output file.
Crop a video by applying a crop effect and specifying horizontal and vertical start and end points, using 640 by 360 dimensions to extract a region.
This course teaches you how you Video Processing with Python. By writing Python code, you can automatically edit videos. It is an introduction course: you will learn about resizing, rotating, cropping, applying effects on videos and much more.
The course is for beginners, it starts with setting up the development environment, then dives into opening videos, creating your own videos, do basic editing and a lot more. Python doesn't have to be console or desktop only, you can have fun with video processing!
If you want to write Python code that edits videos automatically, enroll in this course on Python Video Editing