append every file in a folder

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
winniethetwo

append every file in a folder

Post by winniethetwo »

Hi there!
I'm wondering if it's possible, with IM, to take every mov in a folder, and append one to another in alphabetical order and output with a new quicktime file.

for example in this folder I've got

01.mov: 100 frame
02.mov: 50 frame
03.mov: 25 frame

I need to launch a script that take this mov and render an out.mov whit the 3 clips merged toghether with a lenght of 175 frame.

I don't know how many clips will be inside that folder...

thanks for your attentions

Nicola
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: append every file in a folder

Post by anthony »

Animation wise this is just a serial time append.

Just read in the movies and output them as appropriate...

Code: Select all

convert 01.mov 03.mov 03.mov .....
As for quicktime, sorry I am not up on that aspect.

Please note that all the frames are loaded into memory, BEFORE being written to disk. IM was never really designed with long realtime movies in mind. As such is memory or disk caching starts to become a problem, you are probably better using some other package such as mplayer (mencoder) instead.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply