Process for producing a feed or food product in which an inner layer is embedded with a gelled outer layer composition, the process comprising the steps of: preparing an outer layer composition base material by adding a secondary base material to a protein base material and / or a starch base material, in which the protein base material and / or the starch base material forms a gel upon heating and the secondary base material is added at levels which do not adversely affect the gelation of the outer layer, and then mix by stirring, and prepare an inner layer composition that is embedded with the composition of the outer layer; extrusion molding with an extruder provided with a double nozzle to cover a surface of the inner layer composition while simultaneously gelling the outer layer composition base material by heat treatment; and cutting a cylindrically shaped product continuously extruded to a fixed length with a sealing mechanism while simultaneously embedding a cut surface with the gelled outer layer composition to form a finished product in which the inner layer is completely covered by the outer layer, in that the shutter closes before the hot gel that exits the extruder cools, and in which the shutter mechanism is driven by crankshaft, the crankshaft rotation movement allows the cutting speed and the vertical speed of the device shutter increase, and the sealing / cutting speed of the shutter is between 120 and 140 strokes / minute or greater.Procedimiento para producir un pienso o producto alimenticio en el que una capa interna está incrustada con una composición de capa externa gelificada, comprendiendo el procedimiento las etapas de: preparar un material de base de composición de capa externa mediante la adición de un material de base secundario a un material de base de proteína y/o un material de base de almidón, en el que el material de base de proteína y/o el material de base de almidón forma un gel al calentarlo y el material de base secundario se aña