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:46:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2f4e6d904f3d923e6a52a9c5c28525633f320db9
2f4e6d90
1 parent
58569288
1.优化后台显示。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Jobs/MakeImages.php
app/Jobs/MakeImages.php
View file @
2f4e6d9
...
...
@@ -532,7 +532,7 @@ class MakeImages 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];'
.
...
...
@@ -549,7 +549,7 @@ class MakeImages 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