Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-06-10 19:28:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b6bc57d7f258c7ab874bca6bd3b7a28ca331354d
b6bc57d7
1 parent
c1489948
1.优化后台显示。
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
README.md
app/Jobs/MakeVideo.php
README.md
View file @
b6bc57d
...
...
@@ -15,6 +15,8 @@
-
chmod -R 777 storage/framework
-
chmod -R 777 storage/app/public
-
php artisan horizon:publish
## 禁用函数移除
-
symlink
-
pron_open
...
...
app/Jobs/MakeVideo.php
View file @
b6bc57d
...
...
@@ -279,7 +279,7 @@ class MakeVideo implements ShouldQueue
$video
=
$this
->
getTempPath
();
if
(
$signature
!==
''
)
{
$cmd
=
$this
->
ffmpeg
.
' -y -i '
.
escapeshellarg
(
$last_frame_video
)
.
' -loop 1 -i '
.
escapeshellarg
(
$end_wallpaper
)
.
' -
t 0.7 -
loop 1 -i '
.
escapeshellarg
(
$end_wallpaper
)
.
' -filter_complex "'
.
'geq=lum=\'if(lte(T,0.6), 255*T*(1/0.6),255)\',format=gray[grad];'
.
'[0:v]boxblur=8[blur];'
.
...
...
@@ -296,7 +296,7 @@ class MakeVideo implements ShouldQueue
'" '
.
escapeshellarg
(
$video
);
}
else
{
$cmd
=
$this
->
ffmpeg
.
' -y -i '
.
escapeshellarg
(
$last_frame_video
)
.
' -loop 1 -i '
.
escapeshellarg
(
$end_wallpaper
)
.
' -
t 0.7 -
loop 1 -i '
.
escapeshellarg
(
$end_wallpaper
)
.
' -filter_complex "'
.
'geq=lum=\'if(lte(T,0.6), 255*T*(1/0.6),255)\',format=gray[grad];'
.
'[0:v]boxblur=8[blur];'
.
...
...
Please
register
or
login
to post a comment