You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that it used with_subclip method of VideoFileClip from line 19 to line 23 and this method is deprecated in the v2 .
# Lets import moviepy, lets also import numpy we will use it a some pointfrommoviepyimport*importnumpyasnp################## VIDEO LOADING ################### We load our videovideo=VideoFileClip("./resources/bbb.mp4")
###################### SCENES EXTRACTION ####################### We extract the scenes we want to use# First the charactersintro_clip=video.with_subclip(1, 11)
bird_clip=video.with_subclip(16, 20)
bunny_clip=video.with_subclip(37, 55)
rodents_clip=video.with_subclip('00:03:34.75', '00:03:56') # we can also use string notation with format HH:MM:SS.uSrambo_clip=video.with_subclip('04:41.5', '04:44.70')
# Following code is ignored
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to learn moviepy via moviepy_10_minutes
When I try to execute the
trailer.py
ofmoviepy_10_minutes.zip
,I found that it used
with_subclip
method ofVideoFileClip
from line 19 to line 23 and this method is deprecated in the v2 .Maybe it should be changed to
subclipped
.Beta Was this translation helpful? Give feedback.
All reactions