That's likely as well. I gave them the benefit of any doubt.
Anyways, since I imagine these types of formatting mistakes happen more often than it should, this experience had me thinking about a possible solution for piecing together fragmented media files from a formatted drive.
The proposed program would piece back together the fragmented information with the following method:- Based on my limited knowledge, I've assumed that a media file has a basic structure and syntax for it to be read and executed properly. For the sake of this thought experiment, I will call any file with this basic structure and syntax a 'solution'.
- The program would calculate all possible 'solutions' for the array of fragmented files.
The more fragments, the more possible 'solutions'. - (A more intelligent program could perhaps calculate another, smaller number of 'likely' solutions.)
- Depending on the user-input, the program would then render either all possible solutions, or all 'likely' solutions.
- The user would then sort through the solutions, and choose the correct solution.
Obviously, the program would require a specific algorithm for each codec, of each file-type.
Let me know if I was unclear in anyway.