Hi,
I'm planning to put the hard disk of my PVR (a Video DVD recorder with hard-disk) on an external tray to ease video file moving to my PC. Ideally, I would launch a small program to display the HD contents, select the sequences I'm interested, and it would then copy them to my PC's hard drive for advanced editing and burning. Then I would put the drive back into the PVR.
For testing, I took the drive out, cloned it, and I'm currently analyzing its contents.
It really looks promising : The drive is FAT based (Ghost said FAT 16, XP says FAT 32), video files are standard MPG without encryption (they play ok in VLC) and there's a "reclist.dat" file listing all recording metadata (title, start time, duration, compression mode) that I reverse-engineered without too much hassle.
However, the filesystem obviously is not 100% FAT compliant (for example, the last modification timestamp is empty in XP and "01/01/1601 01:00" in dos prompt's dir) and the real problem is the following :
When a video file reaches 4 Gb, a second one is created with the
*same* name (!). For example, "dir" shows :01/01/1601 01:00 4.290.772.992 CLIP2.MPG
01/01/1601 01:00 201.195.520 CLIP2.MPGor :
01/01/1601 01:00 4.290.772.992 CLIP10.MPG 01/01/1601 01:00 1.055.064.064 CLIP10.MPGDue to this inconsistence, I cannot play or copy the file : all I'm getting is an error message.
Does one of you know a simple way (utility, libary, OS) of accessing the files directly by their FAT entry ? I'm pretty sure entries are contiguous (and even if they're not, finding the correct sequence manually would not be a problem).
As a fallback position, any reliable way to rename the duplicate files would be welcome too, although it would probably prevent me from putting back the drive in the PVR afterwards unless I undo the renaming.
The program could be in any language and even any OS as I intend to place it on a bootable CD that would only be used to make the transfer.
Any hint or help is welcome.
Vicne
PS : All recordings (single or multiple files) are accompanied by fixed-length .MAP files such as :
01/01/1601 01:00 4.194.304 CLIP2.MAP 01/01/1601 01:00 4.194.304 CLIP10.MAP Which seem to contain mainly offsets inside the main files. I guess the only goal is to allow faster skipping or fast back/forwarding inside the video...