Thursday, May 26, 2011

Make a 5 Second Video from Image using FFMPEG

Been playing with FFMpeg and Mencoder to create videos from a list of Images and an audio file.
Here is the command I used:


ffmpeg -loop_input -vframes 50 -f image2 -i foo-1.png -r 10  foo1.avi
ffmpeg -loop_input -vframes 50 -f image2 -i foo-2.png -r 10  foo2.avi
ffmpeg -loop_input -vframes 25 -f image2 -i foo-3.png -r 10  foo3.avi
ffmpeg -loop_input -vframes 25 -f image2 -i foo-4.png -r 10  foo4.avi
mencoder -audiofile foo.wav  -oac copy -ovc copy -o output.avi foo1.avi foo2.avi foo3.avi foo4.avi

4 comments:

Gamer said...

The site is looking piece conspicuous and it gets the guests eyes. Configuration is really basic and a decent easy to understand interface. Promotional video production

Director said...

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. I need track feedback

Entertainment said...

I was reading your article and wondered if you had considered creating an ebook on this subject. Your writing would sell it fast. You have a lot of writing talent. bogobeats.com

ahmed said...

نستخدم في مؤسسة مكافحة الحشرات في الرياض أحدث التقنيات والأساليب العالمية التي توصل إليها مجال مكافحة الحشرات من أجل تقديم أفضل النتائج في أقل وقت وبأقل تكلفةشركة مكافحة النمل الابيض بالقطيف
شركة مكافحة حشرات بالقطيف