@@ -210,7 +210,7 @@ public static function getRotation($file) {
210210 }
211211 }
212212
213- private static function extractAudio ($ source , $ format ) {
213+ public static function extractAudio ($ source , $ format ) {
214214 try {
215215 $ target = tempnam (sys_get_temp_dir (), "" ) . ". " . $ format ;
216216 touch ($ target );
@@ -232,7 +232,7 @@ private static function extractAudio($source, $format) {
232232 }
233233 }
234234
235- private static function transcodeAudioVideoSeparately ($ source , $ options ) {
235+ public static function transcodeAudioVideoSeparately ($ source , $ options ) {
236236 $ audio = NULL ;
237237 try {
238238 $ audio = self ::extractAudio ($ source , "aac " );
@@ -263,7 +263,7 @@ private static function transcodeAudioVideoSeparately($source, $options) {
263263 }
264264 }
265265
266- private static function transcodeAudioVideoSeparately2 ($ source , $ options ) {
266+ public static function transcodeAudioVideoSeparately2 ($ source , $ options ) {
267267 $ audio = NULL ;
268268 try {
269269 $ audio = self ::extractAudio ($ source , "aac " );
@@ -295,7 +295,7 @@ private static function transcodeAudioVideoSeparately2($source, $options) {
295295 }
296296 }
297297
298- private static function separateAudioVideoTranscodingRequired ($ source , $ options ) {
298+ public static function separateAudioVideoTranscodingRequired ($ source , $ options ) {
299299 if (strpos ($ source , ".webm " , strlen ($ source ) - strlen (".webm " )) !== FALSE ) {
300300 if (@$ options ["filters " ]) {
301301 foreach ($ options ["filters " ] as $ filter )
0 commit comments