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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File header of a Media file

Status
Not open for further replies.

nsvreddy

Programmer
Aug 17, 2000
6
IN
Hi All
We got to work with media files such as movie files. Main purpose is to download a movie file from web server to client site.
Typically individual movie file is of size 300 MB approximately and combination of these files will be a complete movie. This information is based on original VCDs. Each individual movie file can be playable. The file extension could be any of .dat,.mov,.qt and so on.

Right now we are working with .dat file format.

All we know that various factors affect the downloading process, including variable bandwidths,variable connection durations or explicit termination process of downloading process so that user can resume in the next session/next time. In order to overcome these factors for these movie files, we decided to split the larger original file into a limited number of smaller chunks of the files which, inturn can be individually playable.

For that we had to split large 300 MB movie file to say some twenty files which can be playable.Using some standalone application in the market which can split a file to smaller files we are splitting the file to whatever number of files we need. Among all these files only first file is playable. The remaining files are not individually playable. But upon merging all other files with first file the merged file become playable as if it is the original large file.

So, there is some information ( may be we can name it as header information) in the first file which is making the remaining content of the file as playable ( we are playing these files with Windows Media Player ). If it is file header which is making the file as playable, then we have to find the position of that file header. In actual situations file header will start from the initial position of the file in the file. But the problem is to find the location of the file at which this file header will end, so that we can collect the file header information and we can make it available in other files too so that they also will become smaller individual playable movie files.

This is a situation where we need some idea to move forward.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top