Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spliting files into many parts

Status
Not open for further replies.

samibami

Programmer
Oct 12, 2003
28
0
0
IL
hi there!
how can i split a video file into 2 parts?
can i just read half of it and copy it to a new file and then do the same with the other half?
would it work or the files wont be playable?

what reading format should i use ? (binary i guess)

10x
 
To split a videofile you has to consider the framing and such, just by doing a binary split you would corrupt it and the second half will not be playable.

There is several programs on the net doing this splitting.

AVIChop.exe
mpegtool.exe

is those i have.

Totte
Hardware level is my game.
 
It depends largely on the file type. You could split it as long as it's a raw format and as long as you place the correct header data in the new file. If it is compressed, it becomes much more difficult, but still do-able. I agree with Totte. It would be better time spent to find a program on tucows or download.com unless this is something that your program will be doing on a regular basis, i.e. it's a feature of the program.

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top