I am looking for a way to create multiple AVI files in batch from sets of JPEGs.
In more detail, the sets of JPEGS would be in individual folders within a single higher level folder. The JPEGS will have a consistent naming convention consisting of a stem concatenated with a sequence number. In an additional text file(s), for instance, I would specify some text to appear for the first few seconds of the video. I would also want this or another file(s) to hold the frame rate which should be applied to JPEG frames.
Is there a solution available which would get close to this requirement?
Thanks in advance for any insights which can be offered.
+ Reply to Thread
Results 1 to 5 of 5
-
-
Many thanks for the tip. I've had a look at some of the documentation for Avisynth and it look promising.
Would you be able to supply or point me to an example of a script which drives the production of an .avi file from a set of JPEGS in the same folder with a stem followed by a zero-padded sequence number and a specified frame rate?
Thanks again. -
Code:
video=ImageSource("D:\sequences\sequence01\stem-%04d.jpg",fps=25) audio=WAVSource("D:\sequences\sequence01\stem.wav") AudioDub(video,audio)
The key is using AutoIt to create a program that reads in all the required info for each sequence and have it write the Avisynth script that then runs ffmpeg with the script as it's input.