Machining apparatus comprising: - a supplying line arranged for supplying material with continuous motion in an advancement direction; - a first machining unit for machining the material arranged along said supplying line with the possibility of adopting a closed position in which it can perform machining tasks on a portion of material and an open position in which it is possible for it not to interfere with the material; - a second machining unit for machining the material arranged along said supplying line with the possibility of adopting a closed position in which it can perform machining tasks on a portion of material and an open position in which it is possible for it not to interfere with the material, said second machining unit being arranged after said first machining unit with reference to said advancement direction; - control means configured for controlling said first machining unit in such a manner as to machine a succession of first portions of material (11, 12, 13,...) spaced apart from one another along said advancement direction and for controlling said second machining unit in such a manner as to machine a succession of second portions of material (21, 22,...) spaced apart from one another along said advancement direction; characterized in that: - said first machining unit is provided with a reciprocating movement with an outward stroke in said advancement direction and a return stroke in an opposite direction, with the possibility of adopting said closed position in at least one part of the outward stroke and said open position in at least one part of the return stroke; - said second machining unit is provided with a reciprocating movement with an outward stroke in said advancement direction and a return stroke in an opposite direction, with the possibility of adopting said closed position in at least one part of the outward stroke and said open position in at least one part of the return stroke. - a supplying line arranged for supplying material with continuous motion in an advancement direction; - a first machining unit for machining the material arranged along said supplying line with the possibility of adopting a closed position in which it can perform machining tasks on a portion of material and an open position in which it is possible for it not to interfere with the material; - a second machining unit for machining the material arranged along said supplying line with the possibility of adopting a closed position in which it can perform machining tasks on a portion of material and an open position in which it is possible for it not to interfere with the material, said second machining unit being arranged after said first machining unit with reference to said advancement direction; - control means configured for controlling said first machining unit in such a manner as to machine a succession of first portions of material (11, 12, 13,...) spaced apart from one another along said advancement direction and for controlling said second machining unit in such a manner as to machine a succession of second portions of material (21, 22,...) spaced apart from one another along said advancement direction; - said first machining unit is provided with a reciprocating movement with an outward stroke in said advancement direction and a return stroke in an opposite direction, with the possibility of adopting said closed position in at least one part of the outward stroke and said open position in at least one part of the return stroke; - said second machining unit is provided with a reciprocating movement with an outward stroke in said advancement direction and a return stroke in an opposite direction, with the possibility of adopting said closed position in at least one part of the outward stroke and said open position in at least one part of the return stroke.