5.3.4.68. Function frame_extractor_alloc_init

5.3.4.68.1. Function Documentation

frame_extractor_t *frame_extractor_alloc_init(const char *path, const size_t n_writers, const size_t frame_height, const size_t frame_width, const size_t n_threads, const enum pixfmt_e frame_pixfmt, const enum video_codec_e codec)

Allocate and initialize a frame extractor.

Parameters
  • path – The file path for the output video or images.

  • n_writers – The number of writers for simultaneous meteors.

  • frame_height – The height of the frames.

  • frame_width – The width of the frames.

  • n_threads – The number of threads to use for ffmpeg.

  • frame_pixfmt – The output pixel format.

  • codec – The output codec.

Returns

A pointer to the allocated frame extractor.