Showing
2 changed files
with
1 additions
and
4 deletions
... | @@ -46,9 +46,6 @@ class DevFFmpeg extends Command | ... | @@ -46,9 +46,6 @@ class DevFFmpeg extends Command |
46 | */ | 46 | */ |
47 | public function handle() | 47 | public function handle() |
48 | { | 48 | { |
49 | - $mv = AdminMakeVideo::query()->first(); | ||
50 | - dd($mv->getContentPosition()); | ||
51 | - | ||
52 | $content = '题破山寺后禅院' . "\t" . ' -- 常建' . PHP_EOL . | 49 | $content = '题破山寺后禅院' . "\t" . ' -- 常建' . PHP_EOL . |
53 | '清晨入古寺,初日照高林。' . PHP_EOL . | 50 | '清晨入古寺,初日照高林。' . PHP_EOL . |
54 | '曲径通幽处,禅房花木深。' . PHP_EOL . | 51 | '曲径通幽处,禅房花木深。' . PHP_EOL . | ... | ... |
... | @@ -60,7 +60,7 @@ class MakeVideo implements ShouldQueue | ... | @@ -60,7 +60,7 @@ 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->content; | 63 | + $content = $adminMakeVideo->poem->content . PHP_EOL; |
64 | $content_position = $adminMakeVideo->getContentPosition(); | 64 | $content_position = $adminMakeVideo->getContentPosition(); |
65 | 65 | ||
66 | // 转换logo大小 | 66 | // 转换logo大小 | ... | ... |
-
Please register or login to post a comment