7
7
%include " std_pair.i"
8
8
%include " std_map.i"
9
9
10
-
11
10
%include " AvTranscoder/swig/avException.i"
12
11
%include " AvTranscoder/swig/avExport.i"
13
12
50
49
51
50
#include < AvTranscoder/transcoder/StreamTranscoder.hpp>
52
51
#include < AvTranscoder/transcoder/Transcoder.hpp>
53
- %}
54
52
55
- %include " AvTranscoder/progress/progress.i"
53
+ /* initialize static const members for binding */
54
+ namespace avtranscoder {
55
+ const std::string Profile::avProfileIdentificator = " avProfile" ;
56
+ const std::string Profile::avProfileIdentificatorHuman = " avProfileLong" ;
57
+
58
+ const std::string Profile::avProfileType = " avProfileType" ;
59
+ const std::string Profile::avProfileTypeFormat = " avProfileTypeFormat" ;
60
+ const std::string Profile::avProfileTypeVideo = " avProfileTypeVideo" ;
61
+ const std::string Profile::avProfileTypeAudio = " avProfileTypeAudio" ;
62
+
63
+ const std::string Profile::avProfileFormat = " format" ;
64
+ const std::string Profile::avProfileCodec = " codec" ;
65
+ const std::string Profile::avProfilePixelFormat = " pix_fmt" ;
66
+ const std::string Profile::avProfileSampleFormat = " sample_fmt" ;
67
+ const std::string Profile::avProfileFrameRate = " r" ;
68
+ const std::string Profile::avProfileSampleRate = " ar" ;
69
+ const std::string Profile::avProfileChannel = " ac" ;
70
+ }
71
+ %}
56
72
57
- namespace std {
73
+ namespace std {
58
74
%template (IntPair) pair< size_t , size_t >;
59
75
%template (VideoVector) vector< avtranscoder::VideoProperties >;
60
76
%template (AudioVector) vector< avtranscoder::AudioProperties >;
@@ -69,6 +85,8 @@ namespace std {
69
85
70
86
%include <AvTranscoder/common.hpp>
71
87
88
+ %include " AvTranscoder/progress/progress.i"
89
+
72
90
%include <AvTranscoder/Profile.hpp>
73
91
74
92
%include <AvTranscoder/essenceStructures/Pixel.hpp>
0 commit comments