[Libav-user] ffmpeg command line for video rendered from set of image snapshots

Josef Vosyka pepavo at gmail.com
Wed Jul 20 15:18:48 CEST 2016

>>     ffmpeg -start_number 1 -framerate 2 -i img_%d.jpg
>> -c:v h264 -profile:v baseline -r 25 -s 208:160 movie.mp4
> Complete, uncut console output missing.

Working syntax:

string img_mask = imagesRootPath + "/img_%7d.jpg";
cmd_str = string_format("ffmpeg -start_number 1 -framerate %d -i %s
-b:v 132k -r 25 %s", framerate, img_mask.c_str(), out.c_str());

> Generally, this mailing list is for questions using the
> libraries, ffmpeg-user is for questions regarding
> command line usage.

Sorry about that. Will use correct forum next time.

More information about the Libav-user mailing list