# FFmpegKit Linux API: Statistics.h Source File

Loading...
Searching...
No Matches
Statistics.h
Go to the documentation of this file.
/*
* Copyright (c) 2022 Taner Sener
*
* This file is part of FFmpegKit.
*
* FFmpegKit is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* FFmpegKit is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FFMPEG_KIT_STATISTICS_H
#define FFMPEG_KIT_STATISTICS_H
#include <stdlib.h>
namespace ffmpegkit {
class Statistics {
public:
Statistics(const long sessionId, const int videoFrameNumber, const float videoFps, const float videoQuality, const int64_t size, const double time, const double bitrate, const double speed);
long getSessionId();
int getVideoFrameNumber();
float getVideoFps();
float getVideoQuality();
int64_t getSize();
double getTime();
double getBitrate();
double getSpeed();
private:
long _sessionId;
int _videoFrameNumber;
float _videoFps;
float _videoQuality;
int64_t _size;
double _time;
double _bitrate;
double _speed;
};
}
#endif // FFMPEG_KIT_STATISTICS_H
ffmpegkit::Statistics
Definition Statistics.h:30
ffmpegkit::Statistics::getTime
double getTime()
Definition Statistics.cpp:46
ffmpegkit::Statistics::_videoFps
float _videoFps
Definition Statistics.h:46
ffmpegkit::Statistics::_bitrate
double _bitrate
Definition Statistics.h:50
ffmpegkit::Statistics::_sessionId
long _sessionId
Definition Statistics.h:44
ffmpegkit::Statistics::_speed
double _speed
Definition Statistics.h:51
ffmpegkit::Statistics::_videoQuality
float _videoQuality
Definition Statistics.h:47
ffmpegkit::Statistics::getSize
int64_t getSize()
Definition Statistics.cpp:42
ffmpegkit::Statistics::getSessionId
long getSessionId()
Definition Statistics.cpp:26
ffmpegkit::Statistics::getVideoFrameNumber
int getVideoFrameNumber()
Definition Statistics.cpp:30
ffmpegkit::Statistics::getVideoFps
float getVideoFps()
Definition Statistics.cpp:34
ffmpegkit::Statistics::getSpeed
double getSpeed()
Definition Statistics.cpp:54
ffmpegkit::Statistics::getVideoQuality
float getVideoQuality()
Definition Statistics.cpp:38
ffmpegkit::Statistics::_size
int64_t _size
Definition Statistics.h:48
ffmpegkit::Statistics::_time
double _time
Definition Statistics.h:49
ffmpegkit::Statistics::getBitrate
double getBitrate()
Definition Statistics.cpp:50
ffmpegkit::Statistics::_videoFrameNumber
int _videoFrameNumber
Definition Statistics.h:45
ffmpegkit
Definition AbstractSession.h:25