extract encoding_args