ark::image::VideoEncodingConfiguration

Defined in header “ark/image/video_encoder.hh”.


This structure holds configuration settings related to how you want your images to be encoded into video.

Variables

  • std::filesystem::path output_path
    Path to the output file.

  • std::string codec_name= “libvpx”
    Human readable name of the desired codec.

  • std::map< std::string, std::string > settings
    Any additional fields/settings that will be passed to the condec.

  • int32_t bit_rate= 200000
    Desired bitrate.

  • image::ImageDataFormat input_format= image::ImageDataFormat::Bgr
    The input image format.

  • int32_t input_width= 1280
    Width of the input frames.

  • int32_t input_height= 720
    Height of the input frames.

  • int32_t output_width= 1280
    Width of the output video.

  • int32_t output_height= 720
    Height of the output video;.

  • int32_t frame_rate= 10
    Approximate framerate.