textTrack.insertMedia(Math.round(start * movie.getTimeScale()), 0,
textMedia.getDuration(), 1);
// position the text track to (x, y)
Matrix mat = new Matrix();
mat.rect(new QDRect(0, 0, TEXT_TRACK_WIDTH, TEXT_TRACK_HEIGHT),
new QDRect(x, y, TEXT_TRACK_WIDTH, TEXT_TRACK_HEIGHT));
textTrack.setMatrix(mat);
} // try
catch (Exception e)
{