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...
It wasn't too long ago we saw our first glimpse of Courage Reborn, another Twilight Princess PC port in the works based on last year's decompilation efforts. With...
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
As a part of their Financial Results Briefing for the previous year, Nintendo president Shuntaro Furukawa took to the floor to answer key questions around the Switch...
Earlier this year, Sony announced major price increases for the PS5, PS5 Pro, and PlayStation Portal. Now the company is raising prices again, this time for...
We are once again here to tell you about a game leaking before its release, but for once, it's not one published by Nintendo. The game files for Microsoft's upcoming...
Continuing with the great news of Pokémon Platinum getting a native unofficial PC port just a few days ago, today, yet another classic title from the franchise has...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
When you talk about 3DS emulation, most people would jump to Citra. As the defacto choice since its first release it's seen tremendous success, and even after its...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
With very little in the way of announcement, Valve has today increased the price of the Steam Deck but some fairly considerable margins. Both of the available models...
It wasn't too long ago we saw our first glimpse of Courage Reborn, another Twilight Princess PC port in the works based on last year's decompilation efforts. With...
Seemingly out of nowhere a PC port for Pokemon Platinum has surfaced online, bundled alongside the source code for those interested in building and developing it for...
Earlier this year, Sony announced major price increases for the PS5, PS5 Pro, and PlayStation Portal. Now the company is raising prices again, this time for...
As a part of their Financial Results Briefing for the previous year, Nintendo president Shuntaro Furukawa took to the floor to answer key questions around the Switch...
The latest in a growing number of native PC ports, Paper Mario ReCut got its first pre-release build earlier this week. Based on the N64 recompilation toolchain, the...
A whole hour of PlayStation content is on the way, thanks to the latest State of Play showcase. Headlining the stream will be Marvel's Wolverine, alongside a...
With rumours circulating about a Nintendo Direct in the coming days and weeks, fans are left speculating and hoping as to what might be included. At the centre of all...
For the first time in 13 years, the Call of Duty series will again return to Nintendo's consoles. Set to launch on the 23rd of October, the latest release, Modern...
With the latest entry to the Star Fox series being announced earlier this month, Nintendo have today shown off one of the features new to the game in the mouse...