Add Crop function, Encoder select function