As you can see, DPGs are just MPEG1 video + MPEG1 layer2 audio with certain sttings (resolution, framerate, bitrate etc.). So you can encode it with any tool of your choice.
The only special/tricky part is the header creation. I would also check out DPGtools, BatchDPG and SUPER just to see what encoding settings they use.