Set codec and format for subs