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
李帅
2023-05-19 00:12:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
400c842ec3f4fc431fe3c9c6bc549f8c51ede906
400c842e
1 parent
b2372d6f
1.测试一下音频淡出效果
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Jobs/AdminMakeImmerse.php
app/Jobs/AdminMakeImmerse.php
View file @
400c842
...
...
@@ -71,8 +71,8 @@ class AdminMakeImmerse implements ShouldQueue
$cmd
=
$this
->
ffmpeg
.
' -y -i '
.
escapeshellarg
(
$file
)
.
' -y -i '
.
escapeshellarg
(
$bgm
)
.
' -filter_complex amix=inputs=2:duration=first:dropout_transition=2 '
.
'-ar 48000 -ab 64k '
.
escapeshellarg
(
$audio
);
' -filter_complex amix=inputs=2:duration=first:dropout_transition=2
;afade=t=out:st=33:d=5
'
.
'
-ar 48000 -ab 64k '
.
escapeshellarg
(
$audio
);
if
(
!
$this
->
execCmd
(
$cmd
))
return
;
$audio_input
=
' -i '
.
escapeshellarg
(
$audio
);
...
...
Please
register
or
login
to post a comment