Dog Factory is a 1904 silent comic trick film directed by Edwin S. Porter for the Edison Manufacturing Company.
The room is hung with racks of sausages, each labeled with the breed of a dog: Pointer, Setter, Spaniel, Poodle.
In the center of the room is a bulky machine labeled "PATENT DOG TRANSFORMATOR", with a slot at the top and a flap on each side.
As the short continues, the proprietors create a trained dog, and a trio of bull pups.
Concerned, the proprietors take a string of sausages from a hook marked "Fighting Bull", and a large dog emerges from the machine and attacks the customer.
In that film, a live pig is led into a machine, which turns them into sausages coming out the other end.