All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.mp4parser.boxes.piff.PiffTrackEncryptionBox Maven / Gradle / Ivy

Go to download

A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)

The newest version!
package com.googlecode.mp4parser.boxes.piff;

import com.googlecode.mp4parser.boxes.AbstractTrackEncryptionBox;

/**
 * aligned(8) class TrackEncryptionBox extends FullBox(‘uuid’,
 * extended_type=0x8974dbce-7be7-4c51-84f9-7148f9882554, version=0,
 * flags=0)
 * {
 * unsigned int(24) default_AlgorithmID;
 * unsigned int(8) default_IV_size;
 * unsigned int(8)[16] default_KID;
 * }
 */
public class PiffTrackEncryptionBox extends AbstractTrackEncryptionBox {


    public PiffTrackEncryptionBox() {
        super("uuid");
    }

    @Override
    public byte[] getUserType() {
        return new byte[]{(byte) 0x89, 0x74, (byte) 0xdb, (byte) 0xce, 0x7b, (byte) 0xe7, 0x4c, 0x51,
                (byte) 0x84, (byte) 0xf9, 0x71, 0x48, (byte) 0xf9, (byte) 0x88, 0x25, 0x54};
    }

    @Override
    public int getFlags() {
        return 0;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy