File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 5
5
#include < AvTranscoder/Profiles/XdCamHd422.hpp>
6
6
#include < AvTranscoder/Profiles/DNxHD.hpp>
7
7
#include < AvTranscoder/Profiles/Wave.hpp>
8
+ #include < AvTranscoder/Profiles/Avi.hpp>
9
+ #include < AvTranscoder/Profiles/Mkv.hpp>
8
10
9
11
#include < iostream>
10
12
#include < fstream>
@@ -69,6 +71,8 @@ void Profile::loadProfiles( const std::string& avProfilesPath )
69
71
loadXdCamHD422 ( _profiles );
70
72
loadDNxHD ( _profiles );
71
73
loadWave ( _profiles );
74
+ loadAvi ( _profiles );
75
+ loadMkv ( _profiles );
72
76
73
77
std::string realAvProfilesPath = avProfilesPath;
74
78
if ( realAvProfilesPath.empty () )
Original file line number Diff line number Diff line change
1
+ #ifndef _AVTRANSCODER_PROFIL_AVI_HPP_
2
+ #define _AVTRANSCODER_PROFIL_AVI_HPP_
3
+
4
+ namespace avtranscoder
5
+ {
6
+
7
+ void loadAvi ( Profile::ProfilesDesc& profiles )
8
+ {
9
+ Profile::ProfileDesc avi;
10
+ avi[ Profile::avProfileIdentificator ] = " avi" ;
11
+ avi[ Profile::avProfileIdentificatorHuman ] = " AVI (Audio Video Interleaved)" ;
12
+ avi[ Profile::avProfileType ] = Profile::avProfileTypeFormat;
13
+
14
+ avi[ " format" ] = " avi" ;
15
+
16
+ profiles.push_back ( avi );
17
+ }
18
+
19
+ }
20
+
21
+ #endif
Original file line number Diff line number Diff line change
1
+ #ifndef _AVTRANSCODER_PROFIL_MKV_HPP_
2
+ #define _AVTRANSCODER_PROFIL_MKV_HPP_
3
+
4
+ namespace avtranscoder
5
+ {
6
+
7
+ void loadMkv ( Profile::ProfilesDesc& profiles )
8
+ {
9
+ Profile::ProfileDesc mkv;
10
+ mkv[ Profile::avProfileIdentificator ] = " mkv" ;
11
+ mkv[ Profile::avProfileIdentificatorHuman ] = " Matroska" ;
12
+ mkv[ Profile::avProfileType ] = Profile::avProfileTypeFormat;
13
+
14
+ mkv[ " format" ] = " mastroka" ;
15
+
16
+ profiles.push_back ( mkv );
17
+ }
18
+
19
+ }
20
+
21
+ #endif
You can’t perform that action at this time.
0 commit comments