* Record animation frames of the running screenhack.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* Record animation frames of the running screenhack.
*
* Permission to use, copy, modify, distribute, and sell this software and its
{ /* Put percent done in window title */
int pct = 100 * (st->frame_count + 1) / st->target_frames;
if (pct != st->pct && st->title)
{ /* Put percent done in window title */
int pct = 100 * (st->frame_count + 1) / st->target_frames;
if (pct != st->pct && st->title)
" -framerate 30" /* rate of input: must be before -i */
" -i '%s-%%06d.%s'"
" -r 30", /* rate of output: must be after -i */
progname, type);
if (soundtrack)
sprintf (cmd + strlen(cmd),
" -framerate 30" /* rate of input: must be before -i */
" -i '%s-%%06d.%s'"
" -r 30", /* rate of output: must be after -i */
progname, type);
if (soundtrack)
sprintf (cmd + strlen(cmd),
fn);
fprintf (stderr, "%s: exec: %s\n", progname, cmd);
system (cmd);
fn);
fprintf (stderr, "%s: exec: %s\n", progname, cmd);
system (cmd);