Added Format for VideoWriter

This commit is contained in:
Alex Eidt 2022-08-03 16:12:07 -07:00
parent 9e805e183b
commit af983f09e4
3 changed files with 36 additions and 41 deletions

View file

@ -127,7 +127,8 @@ func initVideo(video *Video) error {
"-f", "image2pipe",
"-loglevel", "quiet",
"-pix_fmt", "rgb24",
"-vcodec", "rawvideo", "-",
"-vcodec", "rawvideo",
"-",
)
video.cmd = cmd