Compare commits

..

4 Commits

Author SHA1 Message Date
Daniel Widerin
9f06939cdc
Merge pull request #8 from bdhood/master
Add -pix_fmt yuv420p
2022-03-07 10:28:16 +01:00
Ben Hood
0e5de504f3 Add -pix_fmt yuv420p 2021-04-09 22:53:34 -05:00
Ben Hood
e5db4f2150 Add -pix_fmt yuv420p 2021-04-09 22:48:13 -05:00
Daniel Widerin
d779ad2d6d
fix version in readme
Signed-off-by: Daniel Widerin <daniel@widerin.net>
2020-10-25 14:31:55 +01:00
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ library which made this wrapper possible.
vnc-recorder [global options] command [command options] [arguments...]
VERSION:
1.0
0.3.0
AUTHOR:
Daniel Widerin <daniel@widerin.net>

View File

@ -130,6 +130,7 @@ func (enc *X264ImageCustomEncoder) Init(videoFileName string) {
"-preset", "veryfast",
"-g", "250",
"-crf", strconv.Itoa(enc.ConstantRateFactor),
"-pix_fmt", "yuv420p",
videoFileName,
)
cmd.Stdout = os.Stdout