Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

I have some video files which were stored with the format headers in separate files. Unfortunately, the disk crashed, and the header information has been lost. I still have large chunks of stream data though. Before I start writing brute-force code to figure out the parameters, are there any tools available for recovering this sort of thing?

share|improve this question

2 Answers 2

Try to extract header from other file (e.g. create a new one with that recording software) and prepend it to your stream.

On Windows you can use that command to concatenate files:

copy /b header.hdr + stream.mov outputFile.mov
share|improve this answer
    
The problem in this case was that the recording software doesn't store the headers as part of the files. Parameters are hard-coded into the software. –  Perkins Oct 2 at 22:35
    
Is it possible to reinstall that recording software? A few months has passed since the question was asked - have you found a solution? –  Vladislav Oct 3 at 12:12

There are no such tools to my knowledge. You will probably have to make these headers yourself. Usually you don't have all that much parameters to set in a format header. If all the streams have the same origin you will be able to use the same header for all streams.

Just look into the format specification and edit a sample header in a way it could fit your stream data.

share|improve this answer
    
Alas, that is the conclusion I was coming to myself. Unfortunately, little details like what format the video is in are considered proprietary by the company that wrote the recording software. Hence why I was looking for something capable of doing its own analysis. –  Perkins Jun 27 at 16:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.