Yes, it is mandatory to dematerialise your physical share certificates. Depository Participants usually charge a fee for this service.