VidHack
19th May 2003, 16:25
Hello,
I am working on a VOB tool, sort of a VOBedit "JoinClips" mode tool on steriods. Its written in VB. I have a quick question, (perhaps MPUcoder is reading this), if I scan the VOB packet stream, then find NAV DSI Packet Header (7 bytes) 00 00 01 bf 03 fa 01. Skip the next 24 bytes to the VOB ID (2 bytes), alter it, skip 1 byte to the CELL ID (1 byte), then alter it. Since I am doing this in a BINARY access mode reading byte-by-byte, what is the MINIMUM amount of bytes to the next NAV DSI Packet Header? I realize this a varying number, but if I had a minimum number, I could advance the FIle Pointer that number, and start hunting for the next Header pack. This would probably speed up the code 75% since I wouldn't have to read every single byte and do a check for the header sequence.
Thanks for any input from anyone, and any ideas for the tool. I will release it as freeware with source code, if I ever finish it. I only mess with this when I get some time and to learn a bit more of VB.
Well, I tried to enclose a screenshot of the tool, but pressing the IMG button on the top of this page does nothing? So, how do I do that also?
VidHack
I am working on a VOB tool, sort of a VOBedit "JoinClips" mode tool on steriods. Its written in VB. I have a quick question, (perhaps MPUcoder is reading this), if I scan the VOB packet stream, then find NAV DSI Packet Header (7 bytes) 00 00 01 bf 03 fa 01. Skip the next 24 bytes to the VOB ID (2 bytes), alter it, skip 1 byte to the CELL ID (1 byte), then alter it. Since I am doing this in a BINARY access mode reading byte-by-byte, what is the MINIMUM amount of bytes to the next NAV DSI Packet Header? I realize this a varying number, but if I had a minimum number, I could advance the FIle Pointer that number, and start hunting for the next Header pack. This would probably speed up the code 75% since I wouldn't have to read every single byte and do a check for the header sequence.
Thanks for any input from anyone, and any ideas for the tool. I will release it as freeware with source code, if I ever finish it. I only mess with this when I get some time and to learn a bit more of VB.
Well, I tried to enclose a screenshot of the tool, but pressing the IMG button on the top of this page does nothing? So, how do I do that also?
VidHack