30 Days of Python - Day 15 - Automated Video Processing with Moviepy - Python TUTORIAL

preview_player
Показать описание
30 Days of Python - Day 15 - Processing Videos with Moviepy. Create thumbnails from videos, mix audio, composite video, create intros, and more. All with Moviepy, ffmpeg, and ImageMagick - Python TUTORIAL

Sections:
Mac Install - 01:30
Windows Install - 02:57
Base Project Setup - 08:10
Create Thumbnails from Video - 12:09
Video from Images in a Directory - 35:46
Gifs from Clips - 51:45
Audio Mixing - 01:04:22
Overlay Text, Mix Audio, Mix Video - 01:18:48

We're going to be using Moviepy to do the following:
- Create thumbnails from videos
- Image Collection to Video
- Generate a GIF animation
- Combine Audio Samples in a Video
- Overlay Text, Image, or Video

Requirements:
- Python 3.6+
- Pipenv (or another virtual environment)
- moviepy==1.0.2 (or greater)
- ffmpeg & imagemagick installed (see direct reference link above)

In 30 Days of Python, I'll teach you the fundamentals of Python. We created this series as an introduction to programming with Python.

Why Python? It's a very popular way to writing computer programs and automations with board applications: SpaceX & NASA use it to launch rockets, Tesla with autonomous driving, Instagram as a web app backend, Intel to pilot drones/UAVs, and many many others.

What you can do with Python is nearly endless:

Run powerful web applications
Fly drones and launch rockets
Run autonomous robots like drones and self-driving cars
Build connected systems with Arduino and Raspberry PI
Automate business intelligences and perform financial analysis
Machine learning including deep learning
And many more ways
That list is fancy but don't let it scare you. Python is just a tool for writing a series of step-by-step automation rules and that's exactly what software is: a collection of rules for a computer to follow.

The right tools in the right hands can impact the world in such amazing ways.

Shakespeare had very few tools for writing plays and yet he continues to influence our entertainment despite being long gone. Creativity mixed with the right tools can transform how we do everything or why we do it.

That's why I want to teach you this tool. The world needs your creatively, your perspective, your project.

Let's do this!

Рекомендации по теме
Комментарии
Автор

Mac Install - 01:30
Windows Install - 02:57
Base Project Setup - 08:10
Create Thumbnails from Video - 12:09
Video from Images in a Directory - 35:46
Gifs from Clips - 51:45
Audio Mixing - 01:04:22
Overlay Text, Mix Audio, Mix Video - 01:18:48

CodingEntrepreneurs
Автор

Wow! Didn't even know something like moviepy existed! Thanks for that all by itself!

malikrumi
Автор

Just what I was looking for. Wonderful content. :)

abhishekrai
Автор

Django with Angular will be great. Full Stack Development Example.

bikashkarmokar
Автор

Amazing content. Thanks for sharing ☺️🇨🇴

JuanGabrielOyolaCardona
Автор

@01:17:04 even after writing all the codec aurguments my output cropped video is still without audio, what to do? also loaded the separate audio file but still doesn't work

animeshsahu
Автор

This is the best video about MoviePy on Youtube. Thanks. Can you post anything on YoutubeAPI as well, i.e. auto-uploading?

redditcamp
Автор

Hi CE, im a beginner to coding/python, can I start working on coiding from here from Moviepy and expand my learning to other packages as n when required? ? because starting textbook way won't be holding my curiosity for long, I guess.

venktesh
Автор

Which editor are you using in this video ? Awsome content btw

surya-tddg
Автор

Great tutorial. How can we do it for Live Video Streaming? Getting the live video frames, splitting the video and audio frames, process the video frames, and finally merge the processed video frame and audio frame. Can we do it using moviepy?

manishbhurtel
Автор

I would love to build a template I can use for my projects. Would I combine everything into once script or keep the scripts separate and tun them all against then video?

Rubded
Автор

I didn't watch this entire video, but I'm not seeing a way to attach a thumbnail to a video as metadata (or technically a second stream), which is what I was looking for. Does moviepy do that, or do I have to use ffmpeg?

akl
Автор

Flutter with Django Back-end tutorial! can you? 😅

alothaiqi
Автор

how to crop batch videos and save to auto name with new folder ?

earwaxremoval
Автор

can u explain which program u r using for this video and screen recording

JINKHOJA
Автор

I don't know why but my code ran successfully and the video was generated correctly with the new sound at 01:16:13 without the codec argument.

ahmadabdallah
Автор

is there a way to loop a gif over music for the entire video

GoodBoyDanny
Автор

I am using moviepy to automate making portrait videos but sometimes the videos end up becoming glitchy, like sometimes the video dimension decreases, sometimes the video goes off and becomes full black and only the image which I am putting at the top of the background video is visible. Can you help me with this problem?

mkmcraftman
Автор

thanks for the video, i can't use ABS_PATH = os.path.abspath()use conf.py. it will cause the error: "ImportError: cannot import name 'SAMPLE_INPUTS' from 'conf'". Therefore, I have to change it into ABS_PATH = os.path.abspath("conf.py"), then it works. But is it fine? I mean will it cause chaos sometimes?

danhao
Автор

is there any reason why moviepy is speeding up clipped clips?

onionface