FFmpeg writer: correct set default flag value
issue #70
FFmpeg writer: only set parameters the first time
clean set of parameters, just before encoding the first frame
issue #70