0

I am trying to code a program that takes video files from a dir and merges them using moviepy.

Sth like that:

dir: file1, file2, file3

final_video = concatenate_videoclips(dir)

found an answer: Combine mp4 files by order based on number from filenames in Python

Sting3r
  • 3
  • 4
  • Wouldn’t you just load each file in the directory as a `VideoFileClip` and then pass the list to `concatenate_videoclips`? What issues are you having? – wkl Jul 05 '22 at 17:40
  • OK, so you know the function to use, which is the hard part. All you need is a list of file names. I assume you can figure out how to get a list of file names from a directory, can't you? – Tim Roberts Jul 05 '22 at 17:40
  • @Shunya yes, it does ^^ – Sting3r Jul 05 '22 at 20:31

0 Answers0