Reset output video size in separate files mode when the recording is stopped.
Save container/codecs by avname instead of index.