| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | viewer |
viewer handle (vkf_viewer_create) |
||
| character(kind=c_char, len=1), | intent(in), | dimension(*) | :: | ffmpeg |
the ffmpeg command (quoted if need be) |
|
| integer(kind=c_int), | value | :: | ffmpeg_len |
the length of |
||
| character(kind=c_char, len=1), | intent(in), | dimension(*) | :: | output |
ffmpeg's output options and file |
|
| integer(kind=c_int), | value | :: | output_len |
the length of |
||
| real(kind=c_double), | value | :: | fps |
frames per second of the video |
Start recording the frames drawn to a video of fps frames per second: piped as raw video to
ffmpeg (the program), encoded with output (ffmpeg's output options, then the file, quoted).
Returns 0, or -1 if already recording.