| FFmpegKit iOS / macOS / tvOS API 6.0

Loading...
Searching...
No Matches
Statistics.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018-2021 Taner Sener
3 *
4 * This file is part of FFmpegKit.
5 *
6 * FFmpegKit is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FFmpegKit is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with FFmpegKit. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef FFMPEG_KIT_STATISTICS_H
21#define FFMPEG_KIT_STATISTICS_H
22
23#import <Foundation/Foundation.h>
24
28@interface Statistics : NSObject
29
30- (instancetype)init:(long)sessionId videoFrameNumber:(int)videoFrameNumber videoFps:(float)videoFps videoQuality:(float)videoQuality size:(int64_t)size time:(double)time bitrate:(double)bitrate speed:(double)speed;
31
32- (long)getSessionId;
33
34- (int)getVideoFrameNumber;
35
36- (float)getVideoFps;
37
38- (float)getVideoQuality;
39
40- (long)getSize;
41
42- (double)getTime;
43
44- (double)getBitrate;
45
46- (double)getSpeed;
47
48@end
49
50#endif // FFMPEG_KIT_STATISTICS_H
int
int
Definition fftools_ffmpeg_filter.c:180
Statistics
Definition Statistics.h:29
-[Statistics getBitrate]
double getBitrate()
Definition Statistics.m:73
-[Statistics getVideoFrameNumber]
int getVideoFrameNumber()
Definition Statistics.m:53
-[Statistics getTime]
double getTime()
Definition Statistics.m:69
-[Statistics getSpeed]
double getSpeed()
Definition Statistics.m:77
-[Statistics getSize]
long getSize()
Definition Statistics.m:65
-[Statistics getVideoQuality]
float getVideoQuality()
Definition Statistics.m:61
-[Statistics getSessionId]
long getSessionId()
Definition Statistics.m:49
-[Statistics getVideoFps]
float getVideoFps()
Definition Statistics.m:57