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",
|
"-i",
|
||||||
str(rbh),
|
str(rbh),
|
||||||
"-c:v",
|
"-c:v",
|
||||||
"vp9",
|
"h264",
|
||||||
"-c:a",
|
"-c:a",
|
||||||
"libopus",
|
"libopus",
|
||||||
"-pix_fmt",
|
"-pix_fmt",
|
||||||
"yuv420p",
|
"yuv420p",
|
||||||
"-vf",
|
"-vf",
|
||||||
"fade=in:0:d=22",
|
"fade=in:0:d=22",
|
||||||
"-cpu-used",
|
"-tune",
|
||||||
"5",
|
"stillimage",
|
||||||
"-deadline",
|
"-preset",
|
||||||
"realtime",
|
"ultrafast",
|
||||||
"-shortest",
|
"-shortest",
|
||||||
|
"-movflags",
|
||||||
|
"frag_keyframe+empty_moov+faststart",
|
||||||
"-t",
|
"-t",
|
||||||
"104",
|
"104",
|
||||||
"-y",
|
"-y",
|
||||||
"-f",
|
"-f",
|
||||||
"webm",
|
"mp4",
|
||||||
"pipe:1",
|
"pipe:1",
|
||||||
stdout=asyncio.subprocess.PIPE,
|
stdout=asyncio.subprocess.PIPE,
|
||||||
stderr=asyncio.subprocess.PIPE,
|
stderr=asyncio.subprocess.PIPE,
|
||||||
|
|
Loading…
Reference in a new issue