tkhd.setMatrix(track.getTrackMetaData().getMatrix());
IsoFile isoFile = new IsoFile("input.mp4"); TrackHeaderBox tkhd = (TrackHeaderBox) Path.getPath(isoFile, "/moov[0]/trak[0]/tkhd[0]"); tkhd.setMatrix(new Matrix(-1, 0, 0, 1, 0, 0, 1, 0, 0)); FileOutputStream fos = new FileOutputStream("output.mp4"); isoFile.getBox(fos.getChannel());
tkhd.setMatrix(track.getTrackMetaData().getMatrix());