Source Files?
January 15, 2004 6:20 AM
Subscribe
Why (in general) do you need source files? Why can't applications manipulate binary files directly? [more inside.]
Let's say you have an hour long quicktime video file, and for it's entire duration, the date 2003 appears in the upper right corner. As far as I know there's no video manipulation software that will allow me to change that date to 2004 without rerendering the entire video.
Why is this so? I have a very simplistic grasp of binary, but presumably inside the quicktime file, there are a bunch of ones and zeros (encoding the colors of the pixels). Why can't software be written that will reach inside the file and change just those ones and zeros that encode colors for the pixels in the upper-right corner?
This MUST be possible in theory. It's all bits, and bits can be flipped. So what's the stumbling block? It it just that binary code is too difficult for humans to understand, so writing such software would be monumentally difficult?
Incidentally, I'm aware that even if this was possible, it's wouldn't be desirable in most circumstances. The "text" 2003 wouldn't be editable text, it would be pixels in the shape of letter forms. And it would also be overlayed on top of images, so even if you slapped a new bunch of pixel-text (2004) into the place where the old text used to be, the composite would look terrible. My question is more theoretical. And really, video is just an example.
The more general question is: why is it so rare to find programs that can manipulate binary files? If you want to change the wording of some text in a swf file, why do you have to go back to the source fla?
posted by grumblebee to computers & internet (10 comments total)
If a human is involved somewhere in this, then the data must presented in a human readable form. The designer decides whether that data comes from a source file or from a translated binary file.
posted by mischief at 6:37 AM on January 15, 2004