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

◆ get_duration_seconds()

double MayaFlux::Kakshya::VideoFileContainer::get_duration_seconds ( ) const

Total duration in seconds.

Definition at line 18 of file VideoFileContainer.cpp.

19{
20 return position_to_time(
22}
uint64_t get_num_frames() const override
Get the number of frames in the primary (temporal) dimension.
bool is_ring_mode() const
True if the container is operating in ring mode.
double position_to_time(uint64_t position) const override
Convert from position units (e.g., frame/sample index) to time (seconds).

References MayaFlux::Kakshya::VideoStreamContainer::get_num_frames(), MayaFlux::Kakshya::VideoStreamContainer::get_total_source_frames(), MayaFlux::Kakshya::VideoStreamContainer::is_ring_mode(), and MayaFlux::Kakshya::VideoStreamContainer::position_to_time().

+ Here is the call graph for this function: