switch back to new start_encode() function, but with "Encode selection as..." not freezing