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)
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.