李帅

1.继续调试ffmpeg命令

...@@ -60,8 +60,8 @@ class MakeVideo implements ShouldQueue ...@@ -60,8 +60,8 @@ class MakeVideo implements ShouldQueue
60 $signature = "一言"; 60 $signature = "一言";
61 $signature_x = 0; 61 $signature_x = 0;
62 $signature_y = -20; 62 $signature_y = -20;
63 - $content = '`'.$adminMakeVideo->poem->title . "\t" . ' -- ' . $adminMakeVideo->poem->author . PHP_EOL . 63 + $content = $adminMakeVideo->poem->title . "\t" . ' -- ' . $adminMakeVideo->poem->author . PHP_EOL .
64 - $adminMakeVideo->poem->content . PHP_EOL .'`'; 64 + $adminMakeVideo->poem->content . PHP_EOL;
65 $content_position = $adminMakeVideo->getContentPosition(); 65 $content_position = $adminMakeVideo->getContentPosition();
66 66
67 // 转换logo大小 67 // 转换logo大小
...@@ -88,7 +88,7 @@ class MakeVideo implements ShouldQueue ...@@ -88,7 +88,7 @@ class MakeVideo implements ShouldQueue
88 ' -filter_complex "[0:0] ' . 88 ' -filter_complex "[0:0] ' .
89 'drawtext="' . 89 'drawtext="' .
90 'fontfile=' . escapeshellarg($font) . ':' . 90 'fontfile=' . escapeshellarg($font) . ':' .
91 - 'text=' . escapeshellcmd($content) . ':' . 91 + 'text=' . escapeshellarg($content) . ':' .
92 'fontsize=43:' . 92 'fontsize=43:' .
93 'fontcolor=white@1.0:' . 93 'fontcolor=white@1.0:' .
94 'x=' . $content_position[0] . ':' . 94 'x=' . $content_position[0] . ':' .
......