source = ofType; if ("mp4a".equals(ofType.getSampleDescriptionBox().getSampleEntry().getType())) { long numFrames = getTrackMetaData().getTimescale() * ms / 1000 / 1024; long standZeit = getTrackMetaData().getTimescale() * ms / numFrames / 1000; entry = new TimeToSampleBox.Entry(numFrames, standZeit); while (numFrames-- > 0) { samples.add((ByteBuffer) ByteBuffer.wrap(new byte[]{ 0x21, 0x10, 0x04, 0x60, (byte) 0x8c, 0x1c, }).rewind()); } } else { throw new RuntimeException("Tracks of type " + ofType.getClass().getSimpleName() + " are not supported"); }
return null;
return Collections.singletonList(entry);
return source.getHandler();
return source.getMediaHeaderBox();
return source.getSampleDescriptionBox();
return samples;
return source.getTrackMetaData();
return source.isEnabled();
return source.isInMovie();
return source.isInPoster();
return source.isInPreview();