Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::CA::Ffmpeg_Options Struct Reference

Options for Ffmpeg_Frame_Sink. More...

#include <ca-ffmpeg-sink.H>

Collaboration diagram for Aleph::CA::Ffmpeg_Options:
[legend]

Public Attributes

unsigned fps = 24
 input and output frame rate
 
std::string codec = "libx264"
 ffmpeg encoder name
 
std::string pixel_format = "yuv420p"
 output pixel format
 
bool auto_start = true
 start ffmpeg in the constructor
 
bool require_ffmpeg = false
 throw if ffmpeg cannot be started
 

Detailed Description

Options for Ffmpeg_Frame_Sink.

Definition at line 60 of file ca-ffmpeg-sink.H.

Member Data Documentation

◆ auto_start

bool Aleph::CA::Ffmpeg_Options::auto_start = true

start ffmpeg in the constructor

Definition at line 65 of file ca-ffmpeg-sink.H.

Referenced by main(), Aleph::CA::Ffmpeg_Frame_Sink< Mapper >::start(), and TEST().

◆ codec

std::string Aleph::CA::Ffmpeg_Options::codec = "libx264"

ffmpeg encoder name

Definition at line 63 of file ca-ffmpeg-sink.H.

Referenced by Aleph::CA::Ffmpeg_Frame_Sink< Mapper >::start().

◆ fps

unsigned Aleph::CA::Ffmpeg_Options::fps = 24

input and output frame rate

Definition at line 62 of file ca-ffmpeg-sink.H.

Referenced by Aleph::CA::Ffmpeg_Frame_Sink< Mapper >::start().

◆ pixel_format

std::string Aleph::CA::Ffmpeg_Options::pixel_format = "yuv420p"

output pixel format

Definition at line 64 of file ca-ffmpeg-sink.H.

Referenced by Aleph::CA::Ffmpeg_Frame_Sink< Mapper >::start().

◆ require_ffmpeg

bool Aleph::CA::Ffmpeg_Options::require_ffmpeg = false

throw if ffmpeg cannot be started

Definition at line 66 of file ca-ffmpeg-sink.H.

Referenced by Aleph::CA::Ffmpeg_Frame_Sink< Mapper >::flush(), and Aleph::CA::Ffmpeg_Frame_Sink< Mapper >::start().


The documentation for this struct was generated from the following file: