String audioEnglish = RemoveSomeSamplesExample.class.getProtectionDomain().getCodeSource().getLocation().getFile() + "/count-english-audio.mp4";
Movie originalMovie = MovieCreator.build(new FileInputStream(audioEnglish).getChannel());
Track audio = originalMovie.getTracks().get(0);
Movie nuMovie = new Movie();
nuMovie.addTrack(new ReplaceSampleTrack(
new ReplaceSampleTrack(
new ReplaceSampleTrack(
audio,
25, ByteBuffer.allocate(5)),
27, ByteBuffer.allocate(5)),
29, ByteBuffer.allocate(5)));
IsoFile out = new DefaultMp4Builder().build(nuMovie);
FileOutputStream fos = new FileOutputStream(new File("output.mp4"));
out.getBox(fos.getChannel());
fos.close();