I have to say that, whatever your method is, I doubt it's likely to work. Why? If your method can compress anything that's already compressed, then it should be able to compress something it has already compressed, right? In theory, this would lead to everything being compressed to one bit, and one bit can't represent every possible input.
I always wondered about this as a kid. I later tested it to find that, at some point, the zipped result is actually larger than the initial result.
Here's a real world test I'm running. Initial file is 67,509 kb .wmv file
7zipped once: 67,135 kb
7zipped twice: 67,139 kb (larger than the first time zipped)
It's important to ask what kind of compression is being used. What are you compressing. What kind of data is it. Compressing video and compressing text are completely different. For a video file, the compression thinks in terms of frames. For frames 1,2,3,4 and 5, which parts are common? Which parts in the same frame are common? Cartoons often compress very easily because humans lack imagination. If Homer is wearing blue pants, his pants are blue. Just blue. In real life, his pants would be infinite shades of blue, they might have stains, they might have flaws, there might be holes in the cloth or lint stuck to it. This means a cartoon and real life should have slightly different compression methods, and this would be radically different from text compression which is radically different from sound compression.
This is why 7-zip's LZMA compression on a .wmv file doesn't work very well. LZMA is not for video, and you can't use Divx for Word documents.
I said this in another thread, but the theory behind compression and all other computing is probably older than any of us on this forum. What holds us back is computer hardware. Sure you can take 20 passes over a 1080p movie and encode something unbelievably tight, but we don't do that because it's not practical. Nobody wants a single video encoding to take a week or more. I find myself taking all kinds of shortcuts with LZMA compression. If I'm compressing 10gb of stuff, I don't always want to wait an hour to compress it as much as possible. I want something that is done in the time it takes for me to walk to the coffee room, socialize a bit, and walk back to my desk. Sometimes I don't even bother to zip things. I want it done
now, so it gets tarballed with no compression.