@@ -53,7 +53,7 @@ class Container:
53
53
av1_en = ["av1" , "libaom-av1" , "av1_nvenc" , "av1_amf" ]
54
54
prores_en = ["prores" , "prores_videotoolbox" , "prores_aw" , "prores_ks" ]
55
55
aac_en = ["aac" , "aac_at" , "libfdk_aac" ]
56
-
56
+ opus_en = [ "opus" , "libopus" ]
57
57
58
58
h265 : DictContainer = {
59
59
"allow_video" : True ,
@@ -80,24 +80,24 @@ class Container:
80
80
"allow_subtitle" : True ,
81
81
"allow_image" : True ,
82
82
"vcodecs" : h264_en + hevc_en + av1_en + ["vp9" , "mpeg4" , "mpeg2video" , "mjpeg" ],
83
- "acodecs" : aac_en + ["mp3" , "opus " , "flac" , "vorbis" , "libvorbis" , "ac3" , "mp2" ],
83
+ "acodecs" : aac_en + opus_en + ["mp3" , "flac" , "vorbis" , "libvorbis" , "ac3" , "mp2" ],
84
84
"vstrict" : True ,
85
85
}
86
86
ogg : DictContainer = {
87
87
"allow_video" : True ,
88
88
"allow_audio" : True ,
89
89
"allow_subtitle" : True ,
90
90
"vcodecs" : ["libtheora" , "theora" ],
91
- "acodecs" : ["libvorbis" , "vorbis" , "flac" , "opus " , "speex" ],
91
+ "acodecs" : opus_en + ["libvorbis" , "vorbis" , "flac" , "speex" ],
92
92
"vstrict" : True ,
93
93
}
94
94
95
95
mka_audio = (
96
96
["libvorbis" , "vorbis" ]
97
97
+ aac_en
98
+ + opus_en
98
99
+ [
99
100
"mp3" ,
100
- "opus" ,
101
101
"flac" ,
102
102
"ac3" ,
103
103
"mp2" ,
@@ -172,11 +172,11 @@ class Container:
172
172
},
173
173
"opus" : {
174
174
"allow_audio" : True ,
175
- "acodecs" : [ "opus" , "flac" , "libvorbis" , "vorbis" , "speex" ],
175
+ "acodecs" : opus_en + [ "flac" , "libvorbis" , "vorbis" , "speex" ],
176
176
},
177
177
"oga" : {
178
178
"allow_audio" : True ,
179
- "acodecs" : ["flac" , "libvorbis" , "vorbis" , "opus " , "speex" ],
179
+ "acodecs" : opus_en + ["flac" , "libvorbis" , "vorbis" , "speex" ],
180
180
},
181
181
"flac" : {
182
182
"allow_audio" : True ,
@@ -188,7 +188,7 @@ class Container:
188
188
"allow_audio" : True ,
189
189
"allow_subtitle" : True ,
190
190
"vcodecs" : ["vp9" , "vp8" ] + av1_en ,
191
- "acodecs" : [ "opus" , "vorbis" , "libvorbis" ],
191
+ "acodecs" : opus_en + [ "vorbis" , "libvorbis" ],
192
192
"scodecs" : ["webvtt" ],
193
193
"vstrict" : True ,
194
194
"sstrict" : True ,
0 commit comments