-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMuxer.h
44 lines (30 loc) · 920 Bytes
/
Muxer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// Muxer.h
// Muxer
//
// Created by Ryan Walklin on 12/23/08.
// Copyright 2008 Ryan Walklin. All rights reserved.
//
// Controller layer
#import <Cocoa/Cocoa.h>
#import "MXMP4Wrapper.h"
#import "MXTrackWrapper.h"
@interface Muxer : NSObject {
MP4FileHandle * targetMP4;
NSMutableArray * videoTrackArray;
NSMutableArray * audioTrackArray;
NSInteger timescale;
uint64_t outputSize;
BOOL use64BitMode;
}
-(id)init;
-(NSInteger)scanSource:(NSString *)source;
-(BOOL)muxTargetToFile:(NSString *)outputFile;
-(NSInteger)sourceTrackCount;
-(MXTrackWrapper *)trackWithIndex:(NSInteger)index;
-(BOOL)isTrackGroupRow:(NSInteger)row;
-(void)broadcastNotification:(NSString *)status progress:(double)progress isIndeterminate:(BOOL)indeterminate enableInterface:(BOOL)interface;
-(void)removeTrackAtIndex:(NSInteger)index;
-(uint64_t)calculateOutputSize;
//-(NSMutableArray *)sourceTrackArray;
@end