The file header is 16 bytes and starts with "TiVo" (0x54 0x69 0x56 0x6F). It's followed by 3 XML 'chunks' and then the MPEG-2 data. Each XML chunk has its own 12 byte header. The first XML chunk is in the clear and contains the copyright notice. Everything else is encrypted except for some of the MPEG-2 header blocks like pack start codes and the program end code.
Have your software look for files that start with the file header signature, then have it look for the XML copyright notice 28 bytes from the beginning of the file. It starts with "<?xml version="1.0" encoding="utf-8"?>".
The last 4 bytes of the file should be 0x00 0x00 0x01 0xB9, which is the MPEG-2 program end code.
That should be enough to define a custom file type to your recovery software. If it can't recover the NTFS system files to figure out the file size and follow the fragments through the file system you're probably out of luck unless the disk was completely defragmented.
For more details you can Google the tivodecode source code. Good luck.
Greg
Have your software look for files that start with the file header signature, then have it look for the XML copyright notice 28 bytes from the beginning of the file. It starts with "<?xml version="1.0" encoding="utf-8"?>".
The last 4 bytes of the file should be 0x00 0x00 0x01 0xB9, which is the MPEG-2 program end code.
That should be enough to define a custom file type to your recovery software. If it can't recover the NTFS system files to figure out the file size and follow the fragments through the file system you're probably out of luck unless the disk was completely defragmented.
For more details you can Google the tivodecode source code. Good luck.
Greg