Ok, well DGIndex is out of the question for now; in fact it crashed in spectacular style. It actually managed to corrupt my desktop, giving me a corrupt image of my desktop with broken icons like they were scrambled! Awesome.
There are two ways, the easy way and the hard way, well really its not that hard, just a matter of how time consuming it is.
Method 1:
Using Project X to fix and demux the streams, (optional: Imago MPEG muxer to remux elementary streams to a .MPG) and DGIndex and AVISynth to frameserve the file.
Project X is the tool I use to fix and crop my DVB TS dumps (it allows you to cut out commercials without re-encoding). The interface isn't fantastic, and it's not super responsive (it's Java); however what it does is awesome. It can fix broken MPEG streams that have lost data through transmission errors (such as a weak signal).
You need to download and install Project X:
http://download.videohelp.com/download/ ... 0.4.00.zip
When you've installed it, open it up and you will get a screen like this; ignore the CMD screen that pops up, and do not close it:
Now simply drag the file into the bottom half of the program, where you have the grid with the buttons to the left. On loading it, the screen will look like this:
Next, press the QuickStart button to the left of the preview image, what this does is fix and extract the streams, so you will get a seperate .M2V for the raw MPEG-2 video and a .AC3 for the audio and a .TXT log file, so now just wait for the file to process.
If you only require the video, you can now load this straight into DGIndex, create a .D2V and serve it via AVISynth using MPEG2Source("file.d2v") (I'm sure you probably know how to do this, if not, read the .org's guides).
If however you want a playable file with audio and video, we need to take the raw audio and video and mux it. From here you can mux it to a lot of formats, MPG, MP4 or VOB. The tool I use for muxing is Imago MPEG muxer. It's free and simple to use. You can download it here:
http://www.videohelp.com/~liquid217/ImagoMPEG-Muxer.zip
Simply unzip it and run the program. Then hit select video source and point it to the .M2V you just extracted. Most times if the audio has a similar filename to the video, it will auto load that too, but if not; just click add audio source and point it to the .AC3 file.
You can also select where you want the output file in the select output path option, and the output format. Generally it's a good idea to stick with MPG (MPEG-2 Program Stream). Hit multiplex and away you go. Just rememer to specify a different file name, or it may overwrite the original.
This should produce a file that's playable on most things, if no luck, try VOB. Again, you can drop this file directly into DGIndex too, or maybe editing programs might even deal with it directly (but using DGIndex is a better idea).
Method 2:
Using XVI32 to hex edit the existing file.
This IMO is the easy way, but some may think it's the hard way. It's actually the fastest solution. Download it from here:
http://www.handshake.de/user/chmaas/del ... /xvi32.zip
Extract the files to a directory/folder and open the program, then drag the original file into the window. You should see something like this:
Now remember what I said about the MPEG-2 header information being incorrect? Well now we're going to put it right.
Press Ctrl and F (or do Search > Find from the menu) and click the radio button to search for Hex strings. Enter "00 00 01 B3" as the search string without the quotes and hit Ok, this will take you to the MPEG-2 start code. Now pay attention to the left pane (where it has digits grouped in twos), because this is what we will be editing. You can use the information I posted previously to deduce the correct header, but instead I have taken a look at the header information for the file that Project X corrected; and the correct header is "00 00 01 B3 78 04 38 34" (without the quotes. Simply click in a box of the grid and overtype what's there: The original should look like this when you've found the header:
And when you've replaced the old header with the new one, it will look like this:
Remember to work on a copy of the file, or save as a new file instead of just saving in case you mess up the editing and are left with a dead file.
Despite which method you use, you really should get Project X; I'd be lost without it for my DVB-T dumps.