Added bitrate in VideoWriter
This commit is contained in:
parent
c8bed93b92
commit
77430bd2bc
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ func NewVideoWriter(filename string, width, height int, options *Options) *Video
|
|||
// Default Parameter options logic from:
|
||||
// https://github.com/imageio/imageio-ffmpeg/blob/master/imageio_ffmpeg/_io.py#L268.
|
||||
|
||||
writer.bitrate = options.bitrate
|
||||
|
||||
// GIF settings
|
||||
writer.loop = options.loop // Default to infinite loop.
|
||||
if options.delay == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue