Add Multi video file using moviepy
from moviepy.editor import VideoFileClip,concatenate_videoclips
video_1 = VideoFileClip("a.mp4")
video_2 = VideoFileClip("subscribe.mp4")
final_video = concatenate_videoclips([video_1,video_2])
final_video.write_videofile("b.mp4")
for
Audio file Add
from moviepy.editor import AudioFileClip,concatenate_audioclips
audio_1 = AudioFileClip("a.mp3")
audio_2 = AudioFileClip("output.mp3")
final_audio = concatenate_audioclips([audio_1,audio_2])
final_audio.write_audiofile("b.mp3")
Comments
Post a Comment