I am not so familiar with the newer types of DPG (there are at least 4 but only DGG0 DPG2 and whatever the newest type is are used) but the general idea is you get the raw video stream (MPG is a crude container like avi), a header, an audio track and an index of the video stream.
The end result is very simple (it is not interleaved or anything)
header -> audio -> video -> index
Your best bet to get the general idea I reckon would be to read the batchDPG source code (the moonshell stuff is OK too but batchDPG reads more easily).
You should also be able to grab the header tools from the package.
Here is my source code (it may not work properly as I was experimenting with a .net free and ogg supporting version but the video part is fairly sound): http://pastebin.com/f22447f3a (should last forever but anyone feel free to hit me up for a reupload.
My compile (hopefully the same source)
You will probably want the lines 11 -29 and the later stuff.
Thanks. But batchdpg uses an older version of the dpg format, so I wanted to make sure I was using settings for the most up to date version so it's the best quality. Also, my batchdpg encoded videos constantly skip when played in moonshell 2.0 (they don't skip in older moonshell)
I use Xilisoft. Only problem is that the sound gets out of sync when I convert from RMVB to DPG. Even if I go from RMVB to AVI using another program, then to DPG, the sound still gets out of sync.
I use a combination of "dpg video editor v1.1" and "batch DPG". With it u can trim, split, add text and view a preview of the video, and u can amplify or delay (both increase and decrease) the sound. And i use all to avi to get rid of audio delay. This combination has never failed me.
I like SUPER because I can fool around and get GOP tables, quality higher than anything I've seen, and it's easy to use (with the exception of the Engrish, which can be fixed with proper knowledge and time...)
By far the best thing I've seen...
EDIT: Great, ad installer? GOD, I had to go through 50+ ads, with different Decline buttons every time...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
It's a good time to be a first generation Pokemon fan. But when was it not a good time to be one? In recent weeks we've seen a native LOVE2D recreation of Pokemon Red...
If you've been waiting for an excuse to replay Super Mario Sunshine and happen to have up to nine friends, do I have some good news for you. Released earlier today...
Images for the rumoured Zelda-themed limited edition Switch 2 for The Legend of Zelda's 40th Anniversary have started to leak online.
The leak shows only the...
Hoenn to the ROM hacking scene is like Kanto to the official games. It's everywhere. At this point you've probably played through Pokemon Emerald with a party of...
Hot on the heels of their NetherSX2 port, @Nagaa is back with another hugely anticipated release: a Switch port of the popular Wii U emulator Cemu. We've got more...
The golden age of emulation on the Switch continues as a native Dolphin port was released by @Nagaa earlier today. Included in this port, we're looking at cover art...
With the latest entry to the Fire Emblem series, Fortune's Weave, set to launch in September, Nintendo have today announced a new Nintendo Direct to put it soundly in...
After being announced last year, the fan-made remake Gamma Emerald has finally gotten its first early access release. A complete rebuild of fan-favourite Pokemon...
Harbour Masters were cutting it close with this one, promising a release of their Banjo Kazooie PC port "Lighthouse" by the end of this month. And they did not...
Images for the rumoured Zelda-themed limited edition Switch 2 for The Legend of Zelda's 40th Anniversary have started to leak online.
The leak shows only the...
Ocarina of Time is back in style as the upcoming Switch 2 remake looms on the horizon. But what's a fan of the game to do over the next few months? If you've been...
After being announced last year, the fan-made remake Gamma Emerald has finally gotten its first early access release. A complete rebuild of fan-favourite Pokemon...
With the latest entry to the Fire Emblem series, Fortune's Weave, set to launch in September, Nintendo have today announced a new Nintendo Direct to put it soundly in...
Over the past week, rumors have started swirling as Redditors (probably correctly) deduced the title of the upcoming Elder Scrolls game, which will apparently be...
It's a good time to be a first generation Pokemon fan. But when was it not a good time to be one? In recent weeks we've seen a native LOVE2D recreation of Pokemon Red...
So I got pretty lucky on this one. Having ordered the physical version of Oblivion Remastered on Switch 2, I had it delivered earlier today, beating out the official...
Hoenn to the ROM hacking scene is like Kanto to the official games. It's everywhere. At this point you've probably played through Pokemon Emerald with a party of...
Harbour Masters were cutting it close with this one, promising a release of their Banjo Kazooie PC port "Lighthouse" by the end of this month. And they did not...
If you've been waiting for an excuse to replay Super Mario Sunshine and happen to have up to nine friends, do I have some good news for you. Released earlier today...