Added streaming quality options (#790)

This commit is contained in:
JoeSmithStarkers
2020-10-22 15:02:27 +11:00
committed by GitHub
parent a31c8ccd33
commit 71c814c116
5 changed files with 157 additions and 33 deletions

View File

@@ -67,7 +67,7 @@ var CodecH264 = Codec{
format: "mp4",
MimeType: MimeMp4,
extraArgs: []string{
"-movflags", "frag_keyframe",
"-movflags", "frag_keyframe+empty_moov",
"-pix_fmt", "yuv420p",
"-preset", "veryfast",
"-crf", "25",