mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-29 22:50:42 +00:00
17 lines
394 B
Objective-C
Executable File
17 lines
394 B
Objective-C
Executable File
#import <Foundation/Foundation.h>
|
|
#import <CoreVideo/CoreVideo.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class FFMpegAVFrame;
|
|
|
|
@interface FFMpegVideoWriter : NSObject
|
|
|
|
- (bool)setupWithOutputPath:(NSString *)outputPath width:(int)width height:(int)height bitrate:(int64_t)bitrate framerate:(int32_t)framerate;
|
|
- (bool)encodeFrame:(FFMpegAVFrame *)frame;
|
|
- (bool)finalizeVideo;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|