- A short 'ftyp' header
- A mid size 'moov' that stores pointers
- A big 'mdat' that stores the audio and video
When recording it is impossible to know the length of the moov or mdat atom. For this reason the mdat is stored on the memory chip, and often the moov is stored in the camera RAM until the end. On finalisation it is then written to the memory chip. If the required sequence is ftyp-moov-mdata some 'clever' fiddling of the FAT is performed by the camera to make the file logically sequential.
The CnW program has been developed to handle the above for many video types but then the Sony PMW-F3 format was found. The big difference this time is that the 'mdat' is stored in numerous chunks, and not always in sequence on the memory chip. The challenge that CnW is working on is to find these chunks and reconstruct the video. This is performed in several stages
- Chip is scanned for all ftyp, mdat and moov headers
- Chip is scanned for all MP4A audio clusters
- If required a fragmented moov is reconstructed
- The video and audio frames are located based on offset within a cluster. Special routines are required when there are multiple audio or video frames stored at the same location within a cluster
- Often the frame pointers point to clusters several clusters later than the previous one. In these cases the gap between the known cluster locations has be filled in by working forward and backwards from known good locations
CnW is very sceptical of many adverts that claim video recovery - it may work from a hard disk, but CnW has major doubts about working form camera memory chips
No comments:
Post a Comment