5.3.4.71. Function frame_write_action_register
Defined in File frame_compute.h
5.3.4.71.1. Function Documentation
-
void frame_write_action_register(framebuffer_data_t *framebuffer, const char *path, const size_t start, const size_t n_ffmpeg_threads, const enum video_codec_e codec_type, const int win_play, const uint8_t ffmpeg_debug, const char *ffmpeg_out_codec, const char *ffmpeg_out_extra_opts)
Register frame_write in the framebuffer.
- Parameters
framebuffer – A pointer to the framebuffer where the action will be registered.
path – The file path for the output video or images.
start – The starting frame index.
n_ffmpeg_threads – The number of threads to use for ffmpeg.
codec_type – The codec type for encoding the video.
win_play – A flag indicating whether to play or save.
ffmpeg_debug – Print the ffmpeg command line.
ffmpeg_out_codec – Specify the codec to use in ffmpeg (can be NULL).
ffmpeg_out_extra_opts – Pass extra arguments to ffmpeg (can be NULL).