Minimization try

Must be checked why the output is a white video. May be a wrong
configuration.