AVWriter: refactoring - add dummy audio

* Rename customPreset to profile.
* Move some code in initAudio function, to avoid repeated the same code
in several cases (if, else...).
AVWriter: update comments