| FFmpegKit iOS / macOS / tvOS API 6.0

Loading...
Searching...
No Matches
Chapter.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021-2022 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_CHAPTER_H
21#define FFMPEG_KIT_CHAPTER_H
22
23#import <Foundation/Foundation.h>
24
25 extern NSString* const ChapterKeyId;
26 extern NSString* const ChapterKeyTimeBase;
27 extern NSString* const ChapterKeyStart;
28 extern NSString* const ChapterKeyStartTime;
29 extern NSString* const ChapterKeyEnd;
30 extern NSString* const ChapterKeyEndTime;
31 extern NSString* const ChapterKeyTags;
32
36@interface Chapter : NSObject
37
38- (instancetype)init:(NSDictionary*)chapterDictionary;
39
40- (NSNumber*)getId;
41
42- (NSString*)getTimeBase;
43
44- (NSNumber*)getStart;
45
46- (NSString*)getStartTime;
47
48- (NSNumber*)getEnd;
49
50- (NSString*)getEndTime;
51
52- (NSDictionary*)getTags;
53
59- (NSString*)getStringProperty:(NSString*)key;
60
66- (NSNumber*)getNumberProperty:(NSString*)key;
67
73- (id)getProperty:(NSString*)key;
74
80- (NSDictionary*)getAllProperties;
81
82@end
83
84#endif // FFMPEG_KIT_CHAPTER_H
ChapterKeyTimeBase
NSString *const ChapterKeyTimeBase
Definition Chapter.m:23
ChapterKeyStartTime
NSString *const ChapterKeyStartTime
Definition Chapter.m:25
ChapterKeyId
NSString *const ChapterKeyId
Definition Chapter.m:22
ChapterKeyEndTime
NSString *const ChapterKeyEndTime
Definition Chapter.m:27
ChapterKeyEnd
NSString *const ChapterKeyEnd
Definition Chapter.m:26
ChapterKeyTags
NSString *const ChapterKeyTags
Definition Chapter.m:28
ChapterKeyStart
NSString *const ChapterKeyStart
Definition Chapter.m:24
Chapter
Definition Chapter.h:37
-[Chapter getTimeBase]
NSString * getTimeBase()
Definition Chapter.m:52
-[Chapter getTags]
NSDictionary * getTags()
Definition Chapter.m:72
-[Chapter getAllProperties]
NSDictionary * getAllProperties()
Definition Chapter.m:103
-[Chapter getEnd]
NSNumber * getEnd()
Definition Chapter.m:64
-[Chapter getStartTime]
NSString * getStartTime()
Definition Chapter.m:60
-[Chapter getEndTime]
NSString * getEndTime()
Definition Chapter.m:68
-[Chapter getStart]
NSNumber * getStart()
Definition Chapter.m:56
-[Chapter getId]
NSNumber * getId()
Definition Chapter.m:48