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