first arg of EncodingJob constructor must be of type Encoder