vmhd = (VideoMediaHeaderBox) minf.getChild(BoxTypes.VIDEO_MEDIA_HEADER_BOX);
final Box stbl = minf.getChild(BoxTypes.SAMPLE_TABLE_BOX);
//sample descriptions: 'mp4v' has an ESDBox, all others have a CodecSpecificBox
final SampleDescriptionBox stsd = (SampleDescriptionBox) stbl.getChild(BoxTypes.SAMPLE_DESCRIPTION_BOX);
if(stsd.getChildren().get(0) instanceof VideoSampleEntry) {
sampleEntry = (VideoSampleEntry) stsd.getChildren().get(0);
final long type = sampleEntry.getType();
if(type==BoxTypes.MP4V_SAMPLE_ENTRY) findDecoderSpecificInfo((ESDBox) sampleEntry.getChild(BoxTypes.ESD_BOX));
else if(type==BoxTypes.ENCRYPTED_VIDEO_SAMPLE_ENTRY||type==BoxTypes.DRMS_SAMPLE_ENTRY) {
findDecoderSpecificInfo((ESDBox) sampleEntry.getChild(BoxTypes.ESD_BOX));
protection = Protection.parse(sampleEntry.getChild(BoxTypes.PROTECTION_SCHEME_INFORMATION_BOX));