A process is presented and described for the production of moldings, comprising the steps of (a) providing a polymer composition comprising from 1 to 99% by weight of polyhydroxyalkanoate and from 1 to 99% by weight of starch-containing polymer; (b) homogenizing the polymer composition with use of thermal and/or mechanical energy; (c) introducing the polymer composition into a mold; (d) molding the molding in the mold; and (e) removing the molding from the mold. The process described is in particular suitable for the production of hard capsules.