mirror of
https://github.com/saily/vnc-recorder.git
synced 2025-06-29 15:06:57 +00:00
Add -pix_fmt yuv420p
This commit is contained in:
parent
e5db4f2150
commit
0e5de504f3
@ -130,7 +130,7 @@ func (enc *X264ImageCustomEncoder) Init(videoFileName string) {
|
|||||||
"-preset", "veryfast",
|
"-preset", "veryfast",
|
||||||
"-g", "250",
|
"-g", "250",
|
||||||
"-crf", strconv.Itoa(enc.ConstantRateFactor),
|
"-crf", strconv.Itoa(enc.ConstantRateFactor),
|
||||||
"-pix_fmt", "yuv420p",
|
"-pix_fmt", "yuv420p",
|
||||||
videoFileName,
|
videoFileName,
|
||||||
)
|
)
|
||||||
cmd.Stdout = os.Stdout
|
cmd.Stdout = os.Stdout
|
||||||
|
Loading…
Reference in New Issue
Block a user