frameNums[0] = EndianOrder.flipNativeToBigEndian32(frameNumber);
QTHandle frameNumHandle = new QTHandle (4, false);
frameNumHandle.copyFromArray(0, frameNums, 0, 1);
// create a time code description (sample to be added)
TimeCodeDescription tcDesc = new TimeCodeDescription();
tcDesc.setTimeCodeDef (tcDef);
// add the sample to the TimeCodeMedia
tcMedia.beginEdits();
tcMedia.addSample(frameNumHandle, 0, frameNumHandle.getSize(),
movie.getDuration(), tcDesc, 1, 0);