Full API¶ Namespaces¶ Namespace spdl Namespaces Namespace spdl::core Namespaces Classes Enums Functions Typedefs Namespace spdl::core::detail Classes Namespace std Classes and Structs¶ Struct AVRational Struct Documentation AVRational num den Struct BytesAdaptor Inheritance Relationships Base Type Struct Documentation spdl::core::BytesAdaptor get_interface() Struct CPUBuffer Struct Documentation spdl::core::CPUBuffer data() storage shape elem_class depth Struct DataInterface Struct Documentation spdl::core::DataInterface ~DataInterface() get_fmt_ctx() get_src() Struct DecodeConfig Struct Documentation spdl::core::DecodeConfig decoder decoder_options Struct DemuxConfig Struct Documentation spdl::core::DemuxConfig format format_options buffer_size Struct EncodeConfig Struct Documentation spdl::core::EncodeConfig muxer muxer_options encoder encoder_options format width height scale_algo filter_desc bit_rate compression_level qscale gop_size max_b_frames Template Struct EncodeConfigBase Struct Documentation spdl::core::EncodeConfigBase Template Struct Generator Nested Relationships Nested Types Struct Documentation spdl::core::Generator handle_type Generator() Generator() operator=() Generator() operator=() ~Generator() operator bool() operator()() h_ spdl::core::Generator::promise_type get_return_object() initial_suspend() final_suspend() unhandled_exception() yield_value() return_void() value exception Struct Generator::promise_type Nested Relationships Struct Documentation spdl::core::Generator::promise_type get_return_object() initial_suspend() final_suspend() unhandled_exception() yield_value() return_void() value exception Struct RawPacketData Struct Documentation spdl::core::RawPacketData data size pts Struct SourceAdaptor Inheritance Relationships Derived Type Struct Documentation spdl::core::SourceAdaptor ~SourceAdaptor() get_interface() Struct Storage Inheritance Relationships Derived Type Struct Documentation spdl::core::Storage data() ~Storage() Template Class Codec Class Documentation spdl::core::Codec Codec() ~Codec() Codec() Codec() operator=() operator=() get_name() get_sample_rate() get_num_channels() get_width() get_height() get_codec_id() get_pix_fmt() get_time_base() get_frame_rate() get_parameters() Class CPUStorage Inheritance Relationships Base Type Class Documentation spdl::core::CPUStorage data() is_pinned() CPUStorage() CPUStorage() CPUStorage() operator=() CPUStorage() operator=() ~CPUStorage() size Template Class Decoder Class Documentation spdl::core::Decoder Decoder() Decoder() operator=() Decoder() operator=() ~Decoder() decode_and_flush() decode() flush() Class Demuxer Class Documentation spdl::core::Demuxer Demuxer() ~Demuxer() has_audio() get_default_codec() demux_window() stream_demux() Template Class DecoderImpl Class Documentation spdl::core::detail::DecoderImpl Template Class EncoderImpl Class Documentation spdl::core::detail::EncoderImpl Template Class Encoder Class Documentation spdl::core::Encoder Encoder() Encoder() operator=() Encoder() operator=() ~Encoder() encode() flush() Template Class Frames Class Documentation spdl::core::Frames Class InternalError Inheritance Relationships Base Type Class Documentation spdl::core::InternalError Class Muxer Class Documentation spdl::core::Muxer Muxer() Muxer() operator=() Muxer() operator=() ~Muxer() add_encode_stream() add_remux_stream() open() write() flush() close() Template Class Packets Class Documentation spdl::core::Packets Packets() ~Packets() Packets() operator=() Packets() operator=() push() get_packets() get_media_format_name() get_width() get_height() get_frame_rate() num_packets() get_pts() get_num_channels() get_sample_rate() get_codec() iter_packets() get_summary() clone() id src timestamp codec Template Class StreamingDemuxer Class Documentation spdl::core::StreamingDemuxer StreamingDemuxer() done() next() Class TracingSession Class Documentation spdl::core::TracingSession TracingSession() TracingSession() operator=() TracingSession() operator=() ~TracingSession() init() config() start() stop() Enums¶ Enum CodecID Enum Documentation CodecID MPEG1VIDEO MPEG2VIDEO MPEG4 WMV3 VC1 H264 HEVC VP8 VP9 MJPEG AV1 Enum ElemClass Enum Documentation ElemClass Int UInt Float Enum MediaType Enum Documentation MediaType Audio Video Image Functions¶ Function spdl::core::apply_bsf Function Documentation apply_bsf() Template Function spdl::core::clone Function Documentation clone() Template Function spdl::core::convert_frames(const std::vector<const Frames<media> *>&, std::shared_ptr<CPUStorage>) Function Documentation convert_frames() Template Function spdl::core::convert_frames(const Frames<media> *, std::shared_ptr<CPUStorage>) Function Documentation convert_frames() Function spdl::core::convert_rgb_array Function Documentation convert_rgb_array() Function spdl::core::cpu_buffer Function Documentation cpu_buffer() Function spdl::core::encode_image Function Documentation encode_image() Function spdl::core::extract_packets_at_indices Function Documentation extract_packets_at_indices() Function spdl::core::get_ffmpeg_filters Function Documentation get_ffmpeg_filters() Function spdl::core::get_ffmpeg_log_level Function Documentation get_ffmpeg_log_level() Function spdl::core::get_ffmpeg_versions Function Documentation get_ffmpeg_versions() Function spdl::core::init_glog Function Documentation init_glog() Function spdl::core::init_tracing Function Documentation init_tracing() Function spdl::core::make_demuxer(const std::string&, const SourceAdaptorPtr&, const std::optional<DemuxConfig>&) Function Documentation make_demuxer() Function spdl::core::make_demuxer(const std::string_view, const std::optional<DemuxConfig>&) Function Documentation make_demuxer() Function spdl::core::register_avdevices Function Documentation register_avdevices() Function spdl::core::set_ffmpeg_log_level Function Documentation set_ffmpeg_log_level() Template Function spdl::core::trace_counter Function Documentation trace_counter() Function spdl::core::trace_event_begin Function Documentation trace_event_begin() Function spdl::core::trace_event_end Function Documentation trace_event_end() Defines¶ Define _IS_AUDIO Define Documentation _IS_AUDIO Define _IS_IMAGE Define Documentation _IS_IMAGE Define _IS_VIDEO Define Documentation _IS_VIDEO Define SPDL_DEFAULT_BUFFER_SIZE Define Documentation SPDL_DEFAULT_BUFFER_SIZE Typedefs¶ Typedef AVRational Typedef Documentation AVRational Typedef spdl::core::AudioCodec Typedef Documentation AudioCodec Typedef spdl::core::AudioEncodeConfig Typedef Documentation AudioEncodeConfig Typedef spdl::core::AudioEncoder Typedef Documentation AudioEncoder Typedef spdl::core::AudioEncoderPtr Typedef Documentation AudioEncoderPtr Typedef spdl::core::AudioFrames Typedef Documentation AudioFrames Typedef spdl::core::AudioFramesPtr Typedef Documentation AudioFramesPtr Typedef spdl::core::AudioPackets Typedef Documentation AudioPackets Typedef spdl::core::AudioPacketsPtr Typedef Documentation AudioPacketsPtr Typedef spdl::core::CPUBufferPtr Typedef Documentation CPUBufferPtr Typedef spdl::core::DataInterfacePtr Typedef Documentation DataInterfacePtr Typedef spdl::core::DecoderPtr Typedef Documentation DecoderPtr Typedef spdl::core::DemuxerPtr Typedef Documentation DemuxerPtr Typedef spdl::core::EncoderPtr Typedef Documentation EncoderPtr Typedef spdl::core::FramesPtr Typedef Documentation FramesPtr Typedef spdl::core::ImageCodec Typedef Documentation ImageCodec Typedef spdl::core::ImageFrames Typedef Documentation ImageFrames Typedef spdl::core::ImageFramesPtr Typedef Documentation ImageFramesPtr Typedef spdl::core::ImagePackets Typedef Documentation ImagePackets Typedef spdl::core::ImagePacketsPtr Typedef Documentation ImagePacketsPtr Typedef spdl::core::MuxerPtr Typedef Documentation MuxerPtr Typedef spdl::core::OptionDict Typedef Documentation OptionDict Typedef spdl::core::PacketsPtr Typedef Documentation PacketsPtr Typedef spdl::core::Rational Typedef Documentation Rational Typedef spdl::core::SourceAdaptorPtr Typedef Documentation SourceAdaptorPtr Typedef spdl::core::StreamingDemuxerPtr Typedef Documentation StreamingDemuxerPtr Typedef spdl::core::VideoCodec Typedef Documentation VideoCodec Typedef spdl::core::VideoEncodeConfig Typedef Documentation VideoEncodeConfig Typedef spdl::core::VideoEncoder Typedef Documentation VideoEncoder Typedef spdl::core::VideoEncoderPtr Typedef Documentation VideoEncoderPtr Typedef spdl::core::VideoFrames Typedef Documentation VideoFrames Typedef spdl::core::VideoFramesPtr Typedef Documentation VideoFramesPtr Typedef spdl::core::VideoPackets Typedef Documentation VideoPackets Typedef spdl::core::VideoPacketsPtr Typedef Documentation VideoPacketsPtr