top of page
Search

Cut a part of a movie - or Python for Monty Python

Updated: Apr 6, 2020

Well, you want to send a small snap of a movie - let's say in Whatsapp - for example, part of Life of Brian - because you want to prove a point or whatever - so how do you start it in the 5040th second?

download the movie (google it ...) and using the following python code to crap the wanted sean:


from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

ffmpeg_extract_subclip("/Users/allcloud/Downloads/Brien.mp4", 5040, 5091, targetname="/Users/allcloud/Downloads/JudeaS.mp4")

ree

 
 
 

Comments


Subscribe Form

©2019 by Big Data. Proudly created with Wix.com

bottom of page