I have a question regarding the best approach to using Java to compress an MP4 music file. My approach is to use Java NIO to input the MP4 file into RAM as a stream and parse the bits to find a specific bit pattern. When I find the bit pattern, I store it in the compressed output file and continue parsing the remaining bits until done. Finally, save the compressed MP4 file. Is Java NIO the fastest approach to compressing the MP4 at the bit level or is there a better way to do this? Thank you.