If you are asking on how to edit your config file so that it will convert to a nice hq video you can edit

/include/settings/video_conversion.php

Play around with mencoder setting or ffmpeg setting to achieve the quality you want.