PDA

View Full Version : Moving video file to another disk


hamptonhills
11-27-2003, 12:04 PM
I just added another 200 GB disk and would like to distribute the existing files to the two drives. I followed the directions in the following post

http://forums.freytechnologies.com/forums/showthread.php?threadid=1598&highlight=wiz.bin

i.e. changed the drive letters in the wiz.bin file of the video files that I moved, but SageTV did not recognize the change. In fact it moved all the video files to the errant directory. I used Wordpad to edit the file. I even used overstike mode instead of deleting the drive letter and then inserting it.

Is Wordpad somehow changing the format of the file? Do I have to use some special editor (binary/hex) to make the change or is there some checksum that is in the file that I did not change?

I am running SageTV v1.4.10.

Thanks

hamptonhills
11-29-2003, 08:49 AM
I guess everyone is busy getting v2.0 ready, so after poking around a little more I am able to answer my own question.

First it seems like you have to use a binary/hex editor because text editors like wordpad want to break the file (wiz.bin) up into lines. I believe that using Wordpad to edit the file is what caused SageTV to move all my video files to the errant directory. I just grabbed a freeware hex editor off the web (XVI32 v2.51) and this seemed to work fine.

http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm

Second, the directory (and therefore drive letter) is listed at least twice for each video entry. Once for each mpg file used to record the program (so you could have multiple enties if the recording is broken up into several files) and then again (this time directory only, i.e. no filename). I do not know what this directory only specification is for, but it is before the computer name so maybe it has something to do with SageTV client. So the general format in the wiz.bin file for each recording is

<MPEG FILE>[<MPEG FILE>...] <MPEG DIR> <HOST> <REC FRMT>

Example

So if your computer is called Main, your video directory is D:\Vid and you recorded the movie Stripes and it took two files to record, the wiz.bin would contain the following (I have removed the binary data in between the ASCII fields in this example.)

D:\Vid\Stripes-0.mpg D:\Vid\Stripes-1.mpg D:\Vid Main Hauppauge WinTV PVR PCI II Capture #1 DVD Extra Long Play 1.8GB per hr

To move this recording to the same directory on a different drive, say E: you just have to change all the drive letters to E: and of course move the mpg files to the E drive. So after modification the entry would look like

E:\Vid\Stripes-0.mpg E:\Vid\Stripes-1.mpg E:\Vid Main Hauppauge WinTV PVR PCI II Capture #1 DVD Extra Long Play 1.8GB per hr

Hope this information useful.