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

◆ load_video() [1/2]

std::shared_ptr< Kakshya::VideoFileContainer > MayaFlux::IO::IOManager::load_video ( const std::string &  filepath)

Load a video file into a VideoFileContainer.

Performs can_read check, opens the file with metadata extraction, creates the container, registers the reader with IOManager (assigning a globally unique reader_id), calls setup_io_service(), loads into container, and configures the default FrameAccessProcessor with auto_advance enabled.

Audio is NOT extracted. Use load_video(path, options) for that.

Parameters
filepathPath to the video file.
Returns
Loaded VideoFileContainer, or nullptr on failure.

Definition at line 77 of file IOManager.cpp.

78{
79 return load_video(filepath, {}).video;
80}
std::shared_ptr< Kakshya::VideoFileContainer > load_video(const std::string &filepath)
Load a video file into a VideoFileContainer.
Definition IOManager.cpp:77

References load_video().

Referenced by load_video().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: