Jump to content

Gif creators …try this..


dasari4kntr

Recommended Posts

2 minutes ago, sarfaroshi said:

how to select the part of the video and length of the Gif ?

videoClip.subclip(start second,duration) 

videoClip.subclip(1,5)

5 seconds from 1st second onwards 

  • Upvote 1
Link to comment
Share on other sites

8 minutes ago, sarfaroshi said:

how to select the part of the video and length of the Gif ?

 

4 minutes ago, dasari4kntr said:

May be you need to write another program…to cut the clips…

https://zulko.github.io/moviepy/ref/videotools.html#moviepy.video.tools.subtitles.SubtitlesClip.subclip

Link to comment
Share on other sites

from moviepy.editor import VideoFileClip, clips_array, vfx

clip = (VideoFileClip("cat1.mp4")
    .subclip(1,5)
    .resize(0.5))

clip.write_gif("cats can be friendly.gif")
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...