MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ VideoLoadResult

using MayaFlux::IO::VideoLoadResult = typedef std::pair< std::shared_ptr<Kakshya::VideoFileContainer>, std::shared_ptr<Kakshya::SoundFileContainer> >

Result of load_video(path, config): the video container, then its audio.

Read it as auto [video, audio] = load_video(path, config);. The audio is nullptr if the file has no audio track or VideoReadOptions::EXTRACT_AUDIO was not set in the config. Both are nullptr on failure.

Definition at line 88 of file IOManager.hpp.