47 std::vector<std::uint8_t>
rgba;
56 std::vector<std::uint8_t>
pcm;
89 const std::filesystem::path& file,
94 std::uint64_t timestampMicroseconds);
std::optional< DecodedVideoFrame > popVideo()
std::expected< void, std::string > seek(std::uint64_t timestampMicroseconds)
std::expected< void, std::string > open(const std::filesystem::path &file, const DecoderOptions &options={})
std::optional< DecodedAudioChunk > popAudio()
DecoderSnapshot snapshot() const
Decoder(const Decoder &)=delete
Decoder & operator=(const Decoder &)=delete
Decoder & operator=(Decoder &&)=delete
Decoder(Decoder &&)=delete
std::uint64_t timestampMicroseconds
static constexpr std::uint32_t channels
std::vector< std::uint8_t > pcm
static constexpr std::uint32_t sampleRate
std::vector< std::uint8_t > rgba
std::uint64_t timestampMicroseconds
std::size_t maximumFrameBytes
std::uint32_t probeTimeoutMilliseconds
std::size_t videoQueueFrames
std::size_t audioQueueChunks
std::size_t queuedVideoFrames
std::optional< DecoderMetadata > metadata
std::size_t queuedAudioChunks