Skip to content

Commit 265699b

Browse files
author
Daniel Neto
committed
Update
1 parent cb20fa0 commit 265699b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

install/test.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@
5050
//'https://4k.ypt.me/1080/Christmas_Tree_Pan.mp4',//(NO AUDIO)
5151
'https://4k.ypt.me/4K/Hisense.mp4',
5252
'https://4k.ypt.me/4K/Rocket_to_Space.mp4',
53+
'https://4k.ypt.me/4K/beach-uhd_3840_2160_30fps.mp4',
5354
'https://4k.ypt.me/4K/Time_Scapes.mp4',
55+
'https://4k.ypt.me/1080/big_buck_bunny_720p_30mb.mp4',
56+
'https://4k.ypt.me/1080/rain-hd_1920_1080_30fps.mp4',
5457
);
5558

5659
foreach ($filesURL as $value) {

objects/Format.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,8 @@ private static function exec($format_id, $pathFileName, $destinationFile, $encod
915915
$obj->msg = "Code not found ($format_id, $pathFileName, $destinationFile, $encoder_queue_id)";
916916
} else {
917917
$obj->code = $code;
918-
_error_log("AVideo-Encoder Format::exec Start Encoder [{$code}] ");
919918
$progressFile = "{$global['systemRootPath']}videos/{$encoder_queue_id}_tmpFile_progress.txt";
919+
_error_log("AVideo-Encoder Format::exec Start Encoder [{$code}] {$progressFile} ");
920920
$encoder->exec($code . " 1> \"{$progressFile}\" 2>&1", $output, $return_val);
921921
if (self::progressFileHasVideosWithErrors($progressFile)) {
922922
_error_log("AVideo-Encoder Format::exec ERROR ($return_val) progressFile={$progressFile}" . PHP_EOL . json_encode($output));

0 commit comments

Comments
 (0)