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’s about that time of year again where I check in with the community to see if we can get the front page aligned with what people are interested in knowing and what...
WiiCompiled is a new project that lets PC gamers play Mario Kart Wii natively on PC without emulation. Using static recompliation to convert the code into native PC...
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...
The long awaited Grand Theft Auto VI Extended Look gameplay trailer has finally dropped on YouTube. As you all know, it had dropped 6 hours earlier on Netflix, and...
Though we knew all the way back in May that this was coming, the exact numbers remained a mystery for prospective Nintendo gamers in the UK. If you happen to have...
Thanks to the recent decomplication efforts; The Minish Cap 3DS brings the Game Boy Advance classic Zelda title to your 3DS.
The port takes full advantage of the 3DS...
In the wake of Sony's shift to a digital-only ecosystem within the next year, Xbox have today announced a surprising scheme. Aiming to offer physical buyers the same...
After being announced last week, the first of two broadcasts is set to go live later today with a stark focus on The Legend of Zelda and its 40th anniversary...
It is with a heavy heart that I announce the departure of our beloved Chary from the position of Chief Editor. Chary took over early 2021 and has done a wonderful job...
GBAtemp is and always has been an independent community. Since 2002 our staff have voluntarily kept the site running, added new forums, features, provided constant...
It’s about that time of year again where I check in with the community to see if we can get the front page aligned with what people are interested in knowing and what...
After being announced last week, the first of two broadcasts is set to go live later today with a stark focus on The Legend of Zelda and its 40th anniversary...
In the wake of Sony's shift to a digital-only ecosystem within the next year, Xbox have today announced a surprising scheme. Aiming to offer physical buyers the same...
Though we knew all the way back in May that this was coming, the exact numbers remained a mystery for prospective Nintendo gamers in the UK. If you happen to have...
The long awaited Grand Theft Auto VI Extended Look gameplay trailer has finally dropped on YouTube. As you all know, it had dropped 6 hours earlier on Netflix, and...
It is with a heavy heart that I announce the departure of our beloved Chary from the position of Chief Editor. Chary took over early 2021 and has done a wonderful job...
The second of a two-part special, a more traditional Nintendo Direct is set to air today. Unlike the Zelda Direct the contents of this one is still relatively up 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...
A few days ago Chary stepped down as Chief Editor after 5 wonderful years, and everyone guessed the seat wouldn't stay empty for very long. Back in 2021 I proudly...
Thanks to the recent decomplication efforts; The Minish Cap 3DS brings the Game Boy Advance classic Zelda title to your 3DS.
The port takes full advantage of the 3DS...