20#ifndef FFMPEG_KIT_FFMPEG_SESSION_H
21#define FFMPEG_KIT_FFMPEG_SESSION_H
41 static std::shared_ptr<ffmpegkit::FFmpegSession>
create(
const std::list<std::string>& arguments);
105 std::shared_ptr<std::list<std::shared_ptr<ffmpegkit::Statistics>>>
getAllStatistics();
114 std::shared_ptr<std::list<std::shared_ptr<ffmpegkit::Statistics>>>
getStatistics();
130 void addStatistics(
const std::shared_ptr<ffmpegkit::Statistics> statistics);
155 struct PublicFFmpegSession;
170 std::shared_ptr<std::list<std::shared_ptr<ffmpegkit::Statistics>>>
_statistics;
static ffmpegkit::LogCallback logCallback
static ffmpegkit::StatisticsCallback statisticsCallback
ffmpegkit::StatisticsCallback getStatisticsCallback()
bool isFFprobe() const override
void addStatistics(const std::shared_ptr< ffmpegkit::Statistics > statistics)
FFmpegSessionCompleteCallback _completeCallback
ffmpegkit::StatisticsCallback _statisticsCallback
std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Statistics > > > _statistics
std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Statistics > > > getAllStatistics()
ffmpegkit::FFmpegSessionCompleteCallback getCompleteCallback()
bool isFFmpeg() const override
std::shared_ptr< ffmpegkit::Statistics > getLastReceivedStatistics()
std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Statistics > > > getAllStatisticsWithTimeout(const int waitTimeout)
bool isMediaInformation() const override
std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Statistics > > > getStatistics()
static std::shared_ptr< ffmpegkit::FFmpegSession > create(const std::list< std::string > &arguments)
std::function< void(const std::shared_ptr< ffmpegkit::Statistics > statistics)> StatisticsCallback
std::function< void(const std::shared_ptr< ffmpegkit::Log > log)> LogCallback
std::function< void(const std::shared_ptr< ffmpegkit::FFmpegSession > session)> FFmpegSessionCompleteCallback