Added Format for VideoWriter
This commit is contained in:
parent
9e805e183b
commit
af983f09e4
3 changed files with 36 additions and 41 deletions
3
video.go
3
video.go
|
@ -127,7 +127,8 @@ func initVideo(video *Video) error {
|
|||
"-f", "image2pipe",
|
||||
"-loglevel", "quiet",
|
||||
"-pix_fmt", "rgb24",
|
||||
"-vcodec", "rawvideo", "-",
|
||||
"-vcodec", "rawvideo",
|
||||
"-",
|
||||
)
|
||||
|
||||
video.cmd = cmd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue