Showing
1 changed file
with
7 additions
and
7 deletions
| ... | @@ -109,12 +109,12 @@ class MakeVideo implements ShouldQueue | ... | @@ -109,12 +109,12 @@ class MakeVideo implements ShouldQueue |
| 109 | $thumbnail = $last_frame_video; | 109 | $thumbnail = $last_frame_video; |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | - $cmd = $this->ffmpeg. ' -y'. | 112 | +// $cmd = $this->ffmpeg. ' -y'. |
| 113 | - ' -i ' . escapeshellarg($video_temp). | 113 | +// ' -i ' . escapeshellarg($video_temp). |
| 114 | - ' -i ' . escapeshellarg($thumbnail). | 114 | +// ' -i ' . escapeshellarg($thumbnail). |
| 115 | - ' -map 1 -map 0 -c copy -disposition:0 attached_pic '. | 115 | +// ' -map 1 -map 0 -c copy -disposition:0 attached_pic '. |
| 116 | - escapeshellarg($video); | 116 | +// escapeshellarg($video); |
| 117 | - $this->execmd($cmd); | 117 | +// $this->execmd($cmd); |
| 118 | 118 | ||
| 119 | // 全部合成以后创建 临境 | 119 | // 全部合成以后创建 临境 |
| 120 | $video_info = $this->mediainfo($video); | 120 | $video_info = $this->mediainfo($video); |
| ... | @@ -129,7 +129,7 @@ class MakeVideo implements ShouldQueue | ... | @@ -129,7 +129,7 @@ class MakeVideo implements ShouldQueue |
| 129 | 'size' => $video_info['format']['size'], | 129 | 'size' => $video_info['format']['size'], |
| 130 | 'poem_id' => $this->adminMakeVideo->poem_id, | 130 | 'poem_id' => $this->adminMakeVideo->poem_id, |
| 131 | 'temp_id' => $this->adminMakeVideo->temp_id, | 131 | 'temp_id' => $this->adminMakeVideo->temp_id, |
| 132 | - 'thumbnail' => $this->adminMakeVideo->thumbnail_url, | 132 | + 'thumbnail' => $thumbnail, |
| 133 | 'bgm' => $this->adminMakeVideo->bgm_url, | 133 | 'bgm' => $this->adminMakeVideo->bgm_url, |
| 134 | ]); | 134 | ]); |
| 135 | 135 | ... | ... |
-
Please register or login to post a comment