This commit is contained in:
hhu67 2026-08-05 15:26:25 +03:00
parent 12586c1260
commit cc85db861d
3 changed files with 4 additions and 3 deletions

Binary file not shown.

View file

@ -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",

Binary file not shown.