Loading...
Searching...
No Matches
Video::VideoMetadata Struct Reference
Inheritance diagram for Video::VideoMetadata:
Video::ImageFormat Video::VideoInterface Video::VideoThumbnailer Video::ExternalInput Video::VideoDecoder Gfx::GPhoto2::gphoto2_decoder Gfx::GStreamer::gstreamer_video_decoder Gfx::Kinect2::kinect2_decoder Gfx::PipeWire::InputStream Video::CameraInput Video::LibavStreamInput

Public Attributes

std::string filePath
 
AVCodecID codec_id = AV_CODEC_ID_NONE
 
FrameAccess frame_access = FrameAccess::Unknown
 
int max_keyframe_gap {-1}
 
double fps {}
 
bool realTime {}
 
double flicks_per_dts {}
 
double dts_per_flicks {}
 
int64_t start_pts {}
 The timestamp shown at playback time 0: see playbackStartPts.
 
AVRational time_base {0, 1}
 The video stream's time base, which pts are counted in.
 
- Public Attributes inherited from Video::ImageFormat
int width {}
 
int height {}
 
AVPixelFormat pixel_format = AVPixelFormat(-1)
 
AVPixelFormat hwaccel_sw_format = AVPixelFormat(-1)
 
VideoPixelFormat native_format = VideoPixelFormat::Unknown
 
AVColorRange color_range = AVCOL_RANGE_UNSPECIFIED
 
AVColorPrimaries color_primaries = AVCOL_PRI_UNSPECIFIED
 
AVColorTransferCharacteristic color_trc = AVCOL_TRC_UNSPECIFIED
 
AVColorSpace color_space = AVCOL_SPC_UNSPECIFIED
 
AVChromaLocation chroma_location = AVCHROMA_LOC_UNSPECIFIED
 
AVMasteringDisplayMetadata mastering_display {}
 
std::optional< AVContentLightMetadata > content_light {}
 
Interlacing interlacing = ::Video::Interlacing::None
 
OutputFormat output_format = ::Video::OutputFormat::SDR
 
Tonemap tonemap = ::Video::Tonemap::Auto
 
Deinterlace deinterlace = ::Video::Deinterlace::Weave
 

Member Data Documentation

◆ max_keyframe_gap

int Video::VideoMetadata::max_keyframe_gap {-1}

Longest run of non-keyframes between keyframes; -1 when unknown. For a long GOP read off packets rather than an index, a lower bound.


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