protected FileTypeBox createFileTypeBox() { LinkedList<String> minorBrands = new LinkedList<>(); minorBrands.add("isom"); minorBrands.add("3gp4"); return new FileTypeBox("isom", 0, minorBrands); }
@DoNotParseDetail public String toString() { StringBuilder result = new StringBuilder(); result.append("FileTypeBox["); result.append("majorBrand=").append(getMajorBrand()); result.append(";"); result.append("minorVersion=").append(getMinorVersion()); for (String compatibleBrand : compatibleBrands) { result.append(";"); result.append("compatibleBrand=").append(compatibleBrand); } result.append("]"); return result.toString(); } }
public MP4Builder createMovie(Mp4Movie mp4Movie) throws Exception { currentMp4Movie = mp4Movie; fos = new FileOutputStream(mp4Movie.getCacheFile()); fc = fos.getChannel(); FileTypeBox fileTypeBox = createFileTypeBox(); fileTypeBox.getBox(fc); dataOffset += fileTypeBox.getSize(); writedSinceLastMdat += dataOffset; mdat = new InterleaveChunkMdat(); sizeBuffer = ByteBuffer.allocateDirect(4); return this; }
if (e.getValue().contains(fileType.getMajorBrand())) { type = e.getKey(); break; metadata.set(XMPDM.AUDIO_COMPRESSOR, fileType.getMajorBrand().trim());
if (e.getValue().contains(fileType.getMajorBrand())) { type = e.getKey(); break; metadata.set(XMPDM.AUDIO_COMPRESSOR, fileType.getMajorBrand().trim());
protected FileTypeBox createFileTypeBox() { LinkedList<String> minorBrands = new LinkedList<>(); minorBrands.add("isom"); minorBrands.add("3gp4"); return new FileTypeBox("isom", 0, minorBrands); }
@DoNotParseDetail public String toString() { StringBuilder result = new StringBuilder(); result.append("FileTypeBox["); result.append("majorBrand=").append(getMajorBrand()); result.append(";"); result.append("minorVersion=").append(getMinorVersion()); for (String compatibleBrand : compatibleBrands) { result.append(";"); result.append("compatibleBrand=").append(compatibleBrand); } result.append("]"); return result.toString(); } }
public MP4Builder createMovie(Mp4Movie mp4Movie) throws Exception { currentMp4Movie = mp4Movie; fos = new FileOutputStream(mp4Movie.getCacheFile()); fc = fos.getChannel(); FileTypeBox fileTypeBox = createFileTypeBox(); fileTypeBox.getBox(fc); dataOffset += fileTypeBox.getSize(); writedSinceLastMdat += dataOffset; mdat = new InterleaveChunkMdat(); sizeBuffer = ByteBuffer.allocateDirect(4); return this; }
if (e.getValue().contains(fileType.getMajorBrand())) { type = e.getKey(); break; metadata.set(XMPDM.AUDIO_COMPRESSOR, fileType.getMajorBrand().trim());
protected FileTypeBox createFileTypeBox() { LinkedList<String> minorBrands = new LinkedList<>(); minorBrands.add("isom"); minorBrands.add("3gp4"); return new FileTypeBox("isom", 0, minorBrands); }
@DoNotParseDetail public String toString() { StringBuilder result = new StringBuilder(); result.append("FileTypeBox["); result.append("majorBrand=").append(getMajorBrand()); result.append(";"); result.append("minorVersion=").append(getMinorVersion()); for (String compatibleBrand : compatibleBrands) { result.append(";"); result.append("compatibleBrand=").append(compatibleBrand); } result.append("]"); return result.toString(); } }
public MP4Builder createMovie(Mp4Movie mp4Movie) throws Exception { currentMp4Movie = mp4Movie; fos = new FileOutputStream(mp4Movie.getCacheFile()); fc = fos.getChannel(); FileTypeBox fileTypeBox = createFileTypeBox(); fileTypeBox.getBox(fc); dataOffset += fileTypeBox.getSize(); writedSinceLastMdat += dataOffset; mdat = new InterleaveChunkMdat(); sizeBuffer = ByteBuffer.allocateDirect(4); return this; }
public Box createFtyp() { List<String> minorBrands = new LinkedList<String>(); minorBrands.add("isom"); minorBrands.add("iso6"); minorBrands.add("avc1"); return new FileTypeBox("isom", 0, minorBrands); }
public Box createFtyp() { List<String> minorBrands = new LinkedList<String>(); minorBrands.add("isom"); minorBrands.add("iso6"); minorBrands.add("avc1"); return new FileTypeBox("isom", 0, minorBrands); }
public Box createFtyp(Movie movie) { List<String> minorBrands = new LinkedList<String>(); minorBrands.add("isom"); minorBrands.add("iso2"); minorBrands.add("avc1"); return new FileTypeBox("isom", 0, minorBrands); }
public Box createFtyp(Movie movie) { List<String> minorBrands = new LinkedList<String>(); minorBrands.add("isom"); minorBrands.add("iso2"); minorBrands.add("avc1"); return new FileTypeBox("isom", 0, minorBrands); }
protected FileTypeBox createFileTypeBox(Movie movie) { List<String> minorBrands = new LinkedList<String>(); minorBrands.add("mp42"); minorBrands.add("iso6"); minorBrands.add("avc1"); minorBrands.add("isom"); return new FileTypeBox("iso6", 1, minorBrands); }
public Box createFtyp(Movie movie) { List<String> minorBrands = new LinkedList<String>(); minorBrands.add("mp42"); minorBrands.add("iso6"); minorBrands.add("avc1"); minorBrands.add("isom"); return new FileTypeBox("iso6", 1, minorBrands); }
minorBrands.add("avc1"); isoFile.addBox(new FileTypeBox("isom", 0, minorBrands)); isoFile.addBox(createMovieBox(movie)); InterleaveChunkMdat mdat = new InterleaveChunkMdat(movie);
minorBrands.add("avc1"); isoFile.addBox(new FileTypeBox("isom", 0, minorBrands)); isoFile.addBox(createMovieBox(movie)); InterleaveChunkMdat mdat = new InterleaveChunkMdat(movie);