Use h264 instead of vp9 because speed
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 15s
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 15s
This commit is contained in:
parent
0aba58cdb2
commit
d3a2adbbe0
1 changed files with 8 additions and 6 deletions
|
@ -260,23 +260,25 @@ class FFMeta(commands.Cog):
|
|||
"-i",
|
||||
str(rbh),
|
||||
"-c:v",
|
||||
"vp9",
|
||||
"h264",
|
||||
"-c:a",
|
||||
"libopus",
|
||||
"-pix_fmt",
|
||||
"yuv420p",
|
||||
"-vf",
|
||||
"fade=in:0:d=22",
|
||||
"-cpu-used",
|
||||
"5",
|
||||
"-deadline",
|
||||
"realtime",
|
||||
"-tune",
|
||||
"stillimage",
|
||||
"-preset",
|
||||
"ultrafast",
|
||||
"-shortest",
|
||||
"-movflags",
|
||||
"frag_keyframe+empty_moov+faststart",
|
||||
"-t",
|
||||
"104",
|
||||
"-y",
|
||||
"-f",
|
||||
"webm",
|
||||
"mp4",
|
||||
"pipe:1",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE,
|
||||
|
|
Loading…
Reference in a new issue