Skip to content

Commit 68a4713

Browse files
Public Functions
1 parent 0c131e2 commit 68a4713

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

FfmpegVideoTranscoding.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "ziggeo/php-ffmpeg-toolkit",
33
"description" : "A php library for running ffmpeg.",
4-
"version" : "0.0.13",
4+
"version" : "0.0.14",
55
"license" : "Apache-2.0",
66
"require" : {
77
"php" : ">=5.3.0",

0 commit comments

Comments
 (0)