5000 unique video files generation of 2MB each

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
choudhary.sushil
Posts: 9
Joined: 2015-06-18T05:41:43-07:00
Authentication code: 6789

5000 unique video files generation of 2MB each

Post by choudhary.sushil »

Hi all,

I want to generate 5000 unique video files either avi / Mp4 / wmv / mpg / mpeg /flv or any other real video format file. Can anyone please suggest how to achieve it?

Regards,
Sushil Kumar
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: 5000 unique video files generation of 2MB each

Post by fmw42 »

If you already have the images or videos in one format, then I would suggest that you use FFMPEG directly either to create a new video or convert from one format to another.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: 5000 unique video files generation of 2MB each

Post by snibgo »

If you already have a video, the obvious answer is to make 5000 copies, each with a different serial number on all the frames, eg:

Code: Select all

ffmpeg -i in.mpg -vf drawtext=fontfile=annifont.ttf:fontsize=50:text="#00001" out_00001.mpg
snibgo's IM pages: im.snibgo.com
choudhary.sushil
Posts: 9
Joined: 2015-06-18T05:41:43-07:00
Authentication code: 6789

Re: 5000 unique video files generation of 2MB each

Post by choudhary.sushil »

Thanks Fred & Snibgo.
In that case i can take one video and will try to create 5000 unique videos.

Regards,
Sushil Kumar
Post Reply