mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go Added MOGFilter as Filter option
This commit is contained in:
parent
c4d809be27
commit
cbe36f03b0
|
@ -331,6 +331,8 @@ func (r *Revid) setupPipeline(mtsEnc func(dst io.WriteCloser, rate float64) (io.
|
|||
switch r.cfg.FilterMethod {
|
||||
case config.FilterNoOp:
|
||||
r.filter = filter.NewNoOp(r.encoders)
|
||||
case config.FilterMOG:
|
||||
r.filter = filter.NewMOGFilter(r.encoders, 25, 20, 500, 3, true)
|
||||
default:
|
||||
r.filter = filter.NewNoOp(r.encoders)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue