I have added codec options. This commit partialy solves the #19 issue. #18 and #19 will requires audio sync correction (this isn't a priority right now).