李帅

1.修复一些bug

...@@ -60,6 +60,7 @@ class AdminMakeImmerse implements ShouldQueue ...@@ -60,6 +60,7 @@ class AdminMakeImmerse implements ShouldQueue
60 60
61 // 组装文字参数 61 // 组装文字参数
62 $drawtext = $this->getTextContentString(); 62 $drawtext = $this->getTextContentString();
63 + echo $drawtext;
63 64
64 // 判断双轨 没有则制作空轨 65 // 判断双轨 没有则制作空轨
65 $is_bgm = $this->adminMakeVideo->temp->bg_music == 1; //是否手动上传背景音 66 $is_bgm = $this->adminMakeVideo->temp->bg_music == 1; //是否手动上传背景音
...@@ -282,7 +283,6 @@ class AdminMakeImmerse implements ShouldQueue ...@@ -282,7 +283,6 @@ class AdminMakeImmerse implements ShouldQueue
282 $round = round($this->media_info['format']['duration'] / count($contents),1); 283 $round = round($this->media_info['format']['duration'] / count($contents),1);
283 if ($round < 1) $round = 1; 284 if ($round < 1) $round = 1;
284 $sub_text = ''; 285 $sub_text = '';
285 - print_r($contents);
286 foreach ($contents as $key => $content){ 286 foreach ($contents as $key => $content){
287 $DS = $key * $round; 287 $DS = $key * $round;
288 $DE = $DS + $round; 288 $DE = $DS + $round;
......