Automated Video Editing with MoviePy in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • Today we learn how to automate video editing using Python and MoviePy.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

ความคิดเห็น • 78

  • @dwaipayanbandyopadhyay6110
    @dwaipayanbandyopadhyay6110 2 ปีที่แล้ว +42

    When you think we can't use python in certain areas.....

    • @strivold4922
      @strivold4922 2 ปีที่แล้ว +2

      It's actually using FFMPEG under the hood. It may be better to use it directly instead of this library ;)

    • @SagarKumar-fx4ew
      @SagarKumar-fx4ew 2 ปีที่แล้ว

      Yes 😅😅😅😂😂😂

  • @triedle
    @triedle ปีที่แล้ว +2

    Hi there, I am looking for somebody, who can develop a script, that automatically renders animated route lines on maps, depending on GPS coordinates (projection). It should look smooth, maybe even tilted, etc etc.! Are you up for the project or do you know anybody? It's well paid. Best, Tobias

  • @ratmadness4858
    @ratmadness4858 10 หลายเดือนก่อน +5

    Thanks! I've been wanting to pull a time lapse from a video file for years! Now I can!

  • @scullyy
    @scullyy ปีที่แล้ว +6

    I have a video that flickers to a black screen a few times per second, for about 0.1 second each time. Seems like this would be a good way to get rid of that flicker! Maybe use some AI to fill in the missing frames.

    • @Otiyyy
      @Otiyyy 9 วันที่ผ่านมา

      Why dont you just lower your frame rate

  • @mikebeats3281
    @mikebeats3281 2 ปีที่แล้ว +6

    Your amazing, can you do a advanced video of this?

  • @thetagang6854
    @thetagang6854 2 ปีที่แล้ว +12

    Love your content man. Would be great if you include the material you use in your videos in your description!

  • @Tibiscuit_OW2
    @Tibiscuit_OW2 ปีที่แล้ว +3

    Hey, first of all, rly cool vid
    Is that possible make a scrip to edit like the AutoCut extension on Premiere Pro ?
    And is that possible to lunch this scrips when a video arrive in a specific folder ?
    Thanks in advance

  • @ilhomsoliev275
    @ilhomsoliev275 9 หลายเดือนก่อน +1

    is there something better than moviepy?

  • @dyinglewd7964
    @dyinglewd7964 2 ปีที่แล้ว +2

    Next video: Doing a 30 minute workout in Python!

  • @vishwa_randunu
    @vishwa_randunu 2 ปีที่แล้ว +2

    Sir, how we make a sound detect program without nural networks and classifications....?

  • @BeharBullaku
    @BeharBullaku 2 ปีที่แล้ว +3

    maybe the next video idea: automate vide thumbnail ?

    • @voidbyteyt
      @voidbyteyt ปีที่แล้ว

      learn the python pillow library
      its for images

  • @ЩедрыйДобряк
    @ЩедрыйДобряк 2 ปีที่แล้ว +2

    Hello
    How to make video from sequence jpeg files bro?

  • @PushCoins
    @PushCoins ปีที่แล้ว +3

    thank you so much very useful
    great explanations

  • @ChennaiCineCuts
    @ChennaiCineCuts ปีที่แล้ว +1

    good video really useful, need your help. 1 lengthy video need to flip video for every 10 secs once, i hope we can do with python video clips lib, can u post video on this or any git hub ref pls.

  • @leonwolf3254
    @leonwolf3254 ปีที่แล้ว +1

    Thanks, how to join audio with video in moviepy when the files are desynchronised ? How to shift and resample audio ?

  • @josephperlboston
    @josephperlboston ปีที่แล้ว +2

    Thank you for posting. This is interesting. What are some advantages of editing with MoviePy vs. using an editing software like Adobe Rush?

    • @bitslay
      @bitslay 8 หลายเดือนก่อน +1

      You can automate the editing process, for example, I don't know if you have seen those shorts/tiktoks that just have a random post from reddit with an ai voiceover, you can completely automate that and generate videos with one click

  • @atch300
    @atch300 2 ปีที่แล้ว +3

    This is mindblowing

  • @connorodea9499
    @connorodea9499 8 หลายเดือนก่อน

    wouldn't it be more efficient to define a function for the transitions/vfx and assign the concatenated .mp4 to a global variable?
    example such as...
    from moviepy.editor import VideoFileClip, concatenate_videoclips, vfx
    combined_clips = combined
    i.e.
    def vfx_transition(combined_clips):
    VideoFileClip.fx(vfx.fadein, 1) .fx(vfx.fadeout, 1)
    return vfx_transition(combined_clips)
    i am still learning python (self taught) so I am genuinely asking as a question, not from an egotistical manner by any means.
    Thanks for the great video bro!

  • @pythonhtm
    @pythonhtm 2 ปีที่แล้ว +1

    I don't know English but I understood it very well thank you

  • @KrAsHeDD
    @KrAsHeDD ปีที่แล้ว

    Hello, please i am getting "ModuleNotFoundError: No module named 'moviepy.editor'; 'moviepy' is not a package" after which the package has been successfully installed.
    The installed package is 1.0.3.
    Stackoverflow seem not to help v well.
    Thank you.

  • @luasluckas
    @luasluckas 2 ปีที่แล้ว +2

    Thanks man, very usefull content

  • @gomgomleague
    @gomgomleague 2 ปีที่แล้ว +1

    holy coww this is glodd thx bro

  • @Exatillion
    @Exatillion 8 หลายเดือนก่อน

    I know this sounds stupid but hwo do you import an mp3 file into pycharm?

  • @Danigomez92
    @Danigomez92 5 หลายเดือนก่อน

    When I concatenate more than one clip, my video output is blurry and seems to go haywire. Are there specific file formats I should be using for the video files?

  • @Alpha-cw7vs
    @Alpha-cw7vs 22 วันที่ผ่านมา

    Which text editor your using

  • @ChyeHeng17
    @ChyeHeng17 7 หลายเดือนก่อน

    How about the quality of the video? Any loss of quality upon cutting the video?

  • @MullerHasse
    @MullerHasse 10 หลายเดือนก่อน

    You mentioned that you are using Davinci Resolve for video editing. Have you ever tried doing this kind of python scripting on the Davinci Resolve API?

  • @fr4j4_92
    @fr4j4_92 10 หลายเดือนก่อน

    Sadly y had a bunch of problems tryibng to get this lirbrary working.. is there any good alternatives?

  • @Krazy0
    @Krazy0 ปีที่แล้ว +1

    Also it's good for mass video editing, very effective and efficient.

  • @seefinish_
    @seefinish_ ปีที่แล้ว +1

    Interesting , great job

  • @LashawndaTuransky-i2q
    @LashawndaTuransky-i2q 16 วันที่ผ่านมา

    Lysanne Haven

  • @polsh
    @polsh ปีที่แล้ว +1

    ty nacho varga

  • @ianleo3030
    @ianleo3030 ปีที่แล้ว

    it is extermely slow because it uses the cpu this won't work in producation

  • @spicer41282
    @spicer41282 2 ปีที่แล้ว +2

    Love it!
    Is there an Audio counterpart to this? e.g AudioPy?

  • @houriahasbellaoui5662
    @houriahasbellaoui5662 หลายเดือนก่อน

    thank you !

  • @khayaganembashakaran4149
    @khayaganembashakaran4149 2 ปีที่แล้ว +1

    Thanks for the intro video man helped with my presentation

  • @nineteen5899
    @nineteen5899 ปีที่แล้ว +1

    Awesome!

  • @jefferycarson1051
    @jefferycarson1051 หลายเดือนก่อน

    WOW!!!!

  • @akshayk8258
    @akshayk8258 ปีที่แล้ว

    Can anyone help me how out to directly upload this edited vedio into cloud storage

  • @GPLFreeStock
    @GPLFreeStock 5 หลายเดือนก่อน

    How about Overlay such as Green Screen ?

    • @tylerdristen
      @tylerdristen 2 หลายเดือนก่อน

      it's possible, I did it

  • @canalderegistros
    @canalderegistros 3 หลายเดือนก่อน

    Thanks! Amazing!

  • @rirelaughplus
    @rirelaughplus หลายเดือนก่อน

    How to make an ai that creat video from text

    • @ZeBernaudaus
      @ZeBernaudaus หลายเดือนก่อน

      ask chatgpt, tho i think it's only possible for 20 000 $ computer.
      Tho by 2029 it will only cost 1k (source: ray kurzweil)

  • @jesusleguiza77
    @jesusleguiza77 ปีที่แล้ว

    Hi sir, is there some options for make animations for some file glb and then save to mp4? Regards

  • @animationdufun9553
    @animationdufun9553 ปีที่แล้ว

    very usefull thanks you

  • @dreamcatcher6137
    @dreamcatcher6137 ปีที่แล้ว

    I tried image to video by using moviepy but the output is simply black screen and video is not even working..

    • @voidbyteyt
      @voidbyteyt ปีที่แล้ว

      you might not be using clip.set_duration(seconds)

    • @voidbyteyt
      @voidbyteyt ปีที่แล้ว

      before saving video

  • @weliveyou
    @weliveyou 5 หลายเดือนก่อน

    thank you so much for this !!!

  • @defy_norms
    @defy_norms 5 หลายเดือนก่อน

    wow, that is amazing thanks man

  • @lucas.souza2022
    @lucas.souza2022 ปีที่แล้ว

    MoviePy is very easy and useful

  • @pppkenken6610
    @pppkenken6610 ปีที่แล้ว

    MovieCraft.

  • @investofun9551
    @investofun9551 ปีที่แล้ว

    very helpful. ty

  • @mrjt6404
    @mrjt6404 2 ปีที่แล้ว

    Awesome script Thanks

  • @Markandpreston
    @Markandpreston 2 ปีที่แล้ว

    Happy April fools!

  • @NCHEstudio
    @NCHEstudio ปีที่แล้ว

    Cool!

  • @subhankarchakraborty3866
    @subhankarchakraborty3866 2 ปีที่แล้ว

    I also use DaVinci Resolve

  • @Krazy0
    @Krazy0 ปีที่แล้ว

    uralNine

  • @meisam3dfoxh467
    @meisam3dfoxh467 2 ปีที่แล้ว

    Perfect

  • @TheOneHong
    @TheOneHong 2 ปีที่แล้ว

    please teach vapoursynth scripting, also python

  • @p4umce
    @p4umce ปีที่แล้ว

    Wow Great.. any video editor who has some coding skills can basically make an editing program using moviepy and just use it with some changes everytime and do final editing, this will increase productivity to next level..

  • @tcgvsocg1458
    @tcgvsocg1458 2 ปีที่แล้ว +1

    really useless to do soft with so much import...try to do something interesting without import...

  • @alexsnowblind
    @alexsnowblind ปีที่แล้ว

    how to do with a slideshow?