Jump to content

Easy Way to Merge Videos


Biscuitt

Recommended Posts

brosss....evarikanna videos ni add chese tools or online sites telusaaa....i have bunch of small 1 or 2 minute videos of my brother's kids...want to merge all of them...please advise if you know any better toolssss.....TIA.

Link to comment
Share on other sites

3 minutes ago, Biscuitt said:

brosss....evarikanna videos ni add chese tools or online sites telusaaa....i have bunch of small 1 or 2 minute videos of my brother's kids...want to merge all of them...please advise if you know any better toolssss.....TIA.

Eat biscuit and say jai lokayya 

Link to comment
Share on other sites

import os
import moviepy
import imageio
from moviepy.editor import *
import csv
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip

 

i=10 #number of clips you want to merge

videoform = ".mp4"
filepath = "C:\\Softwares\\Python\\Work\\"
finalvideo = "C:\\Softwares\\Python\\Work\\Final.mp4"

clips=[]
for x in range(1, i+1):
    file = filepath + str(x) + videoform
    clips.append(VideoFileClip(file))

final_clip = concatenate_videoclips(clips)

# You can write any format, in any quality.
final_clip.write_videofile(finalvideo, bitrate="5000k")
 

Link to comment
Share on other sites

1 hour ago, Biscuitt said:

brosss....evarikanna videos ni add chese tools or online sites telusaaa....i have bunch of small 1 or 2 minute videos of my brother's kids...want to merge all of them...please advise if you know any better toolssss.....TIA.

Which location ?

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...