Тёмный

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

CodingEntrepreneurs
Подписаться 324 тыс.
Просмотров 60 тыс.
50% 1

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
Direct reference: github.com/codingforentrepren...
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!
Python on Windows Install GUIDE: www.codingforentrepreneurs.co...
Python on macOS Install GUIDE: www.codingforentrepreneurs.co...
Code: github.com/codingforentrepren...
Subscribe: cfe.sh/youtube

Опубликовано:

 

8 апр 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 75   
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
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
@ashabmohiuddin8441
@ashabmohiuddin8441 4 года назад
What's your age smart guy?
@XengShi
@XengShi 3 года назад
Thanks
@abhishekrai9816
@abhishekrai9816 3 года назад
Just what I was looking for. Wonderful content. :)
@jahangircs
@jahangircs 4 года назад
One of the best tutorial series ...😍
@nataliiasorokina4485
@nataliiasorokina4485 4 года назад
Thank you for this amazing course!
@malikrumi1206
@malikrumi1206 4 года назад
Wow! Didn't even know something like moviepy existed! Thanks for that all by itself!
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
Yeah for sure! It’s a great package
@XengShi
@XengShi 3 года назад
its very hidden package 😁😁😁
@JuanGabrielOyolaCardona
@JuanGabrielOyolaCardona 2 года назад
Amazing content. Thanks for sharing ☺️🇨🇴
@erikfrits6553
@erikfrits6553 4 года назад
Good content. Thank you, man
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
You’re welcome!
@h-freed
@h-freed 2 месяца назад
The Best! Thanks!
@paristar3079
@paristar3079 4 года назад
You deserve million subscribers
@kolavithonduraski5031
@kolavithonduraski5031 4 года назад
thank's for your videos !
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
Interested in Computer Vision? Check out my series on OpenCV - ru-vid.com/group/PLEsfXFp6DpzRyxnU-vfs3vk-61Wpt7bOS
@davidsrinivasan7764
@davidsrinivasan7764 10 месяцев назад
love this !
@bikashkarmokar
@bikashkarmokar 4 года назад
Django with Angular will be great. Full Stack Development Example.
@prashlovessamosa
@prashlovessamosa Год назад
This is gold
@datapilot2282
@datapilot2282 4 года назад
Good explanation 👍👍
@pasanga2027
@pasanga2027 4 года назад
thanks a lot bro
@deaglegaming3119
@deaglegaming3119 3 года назад
NGL THIS GUY IS OPPPP
@animeshsahu6267
@animeshsahu6267 4 года назад
@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
@krumss
@krumss 3 года назад
This is best
@manishbhurtel5244
@manishbhurtel5244 3 года назад
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?
@Rubded
@Rubded 2 года назад
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?
@surya-td4dg
@surya-td4dg 4 года назад
Which editor are you using in this video ? Awsome content btw
@akl561
@akl561 3 года назад
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?
@danhao7833
@danhao7833 3 года назад
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?
@JIN7KHOJA
@JIN7KHOJA 4 года назад
can u explain which program u r using for this video and screen recording
@syedhamzashahbaz3406
@syedhamzashahbaz3406 4 года назад
sir how we can find key frame in video using python. i'm new in python and computer vision.if you don't mind give brief lecture in key framing.
@onionface5233
@onionface5233 4 года назад
is there any reason why moviepy is speeding up clipped clips?
@asyou_00
@asyou_00 3 года назад
Can you please make a video of how we can compress a video file with moviepy.I have made a video compressor with moviepy and pillow that is quiet slow and it take same time as the video duration please help me out.
@GoodBoyDanny
@GoodBoyDanny 3 года назад
is there a way to loop a gif over music for the entire video
@redditcamp543
@redditcamp543 4 года назад
This is the best video about MoviePy on RU-vid. Thanks. Can you post anything on RU-vidAPI as well, i.e. auto-uploading?
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
That’s a great idea!
@booksunder5mins454
@booksunder5mins454 2 года назад
@@CodingEntrepreneurs I tried it. YT doesn't upload videos made by moviepy; it says ' Processing Abandoned - The Video could not be abandoned '...Any solns?
@venktesh6600
@venktesh6600 11 месяцев назад
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.
@CodingEntrepreneurs
@CodingEntrepreneurs 10 месяцев назад
Why not try?
@earwaxremoval6430
@earwaxremoval6430 11 месяцев назад
how to crop batch videos and save to auto name with new folder ?
@alothaiqi
@alothaiqi 4 года назад
Flutter with Django Back-end tutorial! can you? 😅
@farisabbasi3331
@farisabbasi3331 4 года назад
yes please crud with django and connect with it flutter
@ahmadabdallah2896
@ahmadabdallah2896 3 года назад
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.
@danhao7833
@danhao7833 3 года назад
mac, TextClip does not work for font.....I even installed ghostscript
@mkmcraftman2635
@mkmcraftman2635 3 месяца назад
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?
@danidondeandas
@danidondeandas 3 месяца назад
I can help you
@hemantsharma7986
@hemantsharma7986 3 года назад
how to create loop of videos?
@ayushbansal3353
@ayushbansal3353 4 года назад
TextClip is now working in Windows. It is showing some imagemagick path error . Can somebody help me with this?
@pongdylan4367
@pongdylan4367 4 года назад
I had the same problem, it seems ImageMagick cannot automatically detected by MoviePy in windows, you will need to locate the Moviepy folder, change the default config setting and reinstall MoviePy. Link below for your reference. zulko.github.io/moviepy/install.html
@nihalmankar4743
@nihalmankar4743 3 года назад
I have to make automated program for video editing. How to can we communicate. I am willing to pay for this.
@user-zl8ur8vl9f
@user-zl8ur8vl9f 4 месяца назад
can we play video fast in python
@sriramkasu5286
@sriramkasu5286 4 года назад
can we combine an audio and video file using python(moviepy) sir
@sriramkasu5286
@sriramkasu5286 4 года назад
if so plz reply the timeline sir plz
@adamkadaban
@adamkadaban 4 года назад
@@sriramkasu5286 ffmpeg can do that. I can post the code in a bit if you still need it
@aramkader6504
@aramkader6504 4 года назад
how I can add a logo to videos ?
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
Just like what we did with the text but use ImageClip() and pass a path to a image file.
@paristar3079
@paristar3079 4 года назад
What Happened there? 1:05:53 Can someone explain?
@CodingEntrepreneurs
@CodingEntrepreneurs 4 года назад
An editing fail!
@chadchampion7985
@chadchampion7985 3 года назад
u should've just used pathlib instead of os
@mr.do-it-allllc.3143
@mr.do-it-allllc.3143 3 года назад
Needs more glob.
Далее
Automated Video Editing with MoviePy in Python
14:07
Просмотров 97 тыс.
Me: Don't cross there's cars coming
00:16
Просмотров 8 млн
Audio Data Processing in Python
19:52
Просмотров 149 тыс.
All Rust string types explained
22:13
Просмотров 152 тыс.
The Complete Guide to Python Virtual Environments!
15:52
Making Automatic YouTube videos with Python
7:32
Просмотров 177 тыс.
How Stable Diffusion Works (AI Image Generation)
30:21
Просмотров 137 тыс.
Anaconda (Conda) for Python - What & Why?
26:10
Просмотров 221 тыс.