李帅

1.后台可上传图文内容。

......@@ -74,7 +74,7 @@ class MakeImages implements ShouldQueue
if (!$this->execmd($cmd)) return;
// 全部合成以后创建 临境
$video_info = $this->mediainfo($output);
// $video_info = $this->mediainfo($output);
$create = [
'user_id' => 1,
......@@ -83,7 +83,7 @@ class MakeImages implements ShouldQueue
'url' => str_replace(Storage::disk('public')->path(''),'',$output),
'type' => $this->adminMakeVideo->type == 1 ? 2 : 1,
'duration' => 0,
'size' => $video_info['format']['size'],
'size' => filesize($image),
'poem_id' => $this->adminMakeVideo->poem_id,
'temp_id' => $this->adminMakeVideo->temp_id,
'thumbnail' => str_replace(Storage::disk('public')->path(''),'',$image),
......