mirror of
https://github.com/saily/vnc-recorder.git
synced 2025-08-31 12:26:43 +00:00
Add -pix_fmt yuv420p #8
This commit is contained in:
@@ -130,6 +130,8 @@ func (enc *X264ImageCustomEncoder) Init(videoFileName string) {
|
||||
"-preset", "veryfast",
|
||||
"-g", "250",
|
||||
"-crf", strconv.Itoa(enc.ConstantRateFactor),
|
||||
// https://github.com/saily/vnc-recorder/pull/8
|
||||
"-pix_fmt", "yuv420p",
|
||||
videoFileName,
|
||||
)
|
||||
cmd.Stdout = os.Stdout
|
||||
|
Reference in New Issue
Block a user