CERGAY
This commit is contained in:
parent
12586c1260
commit
cc85db861d
3 changed files with 4 additions and 3 deletions
BIN
compressed.mp4
BIN
compressed.mp4
Binary file not shown.
|
|
@ -61,9 +61,10 @@ func compressRAMHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
"-y",
|
"-y",
|
||||||
"-i", tmpFilePath,
|
"-i", tmpFilePath,
|
||||||
"-c:v", "libx264",
|
"-c:v", "libx264",
|
||||||
"-preset", "veryfast",
|
"-preset", "ultrafast",
|
||||||
"-crf", "26",
|
"-crf", "29",
|
||||||
"-threads", "4",
|
"-tune", "zerolatency",
|
||||||
|
"-threads", "5",
|
||||||
"-movflags", "frag_keyframe+empty_moov",
|
"-movflags", "frag_keyframe+empty_moov",
|
||||||
"-f", "mp4",
|
"-f", "mp4",
|
||||||
"pipe:1",
|
"pipe:1",
|
||||||
|
|
|
||||||
BIN
go_build_convert
BIN
go_build_convert
Binary file not shown.
Loading…
Reference in a new issue