
org.mp4parser.muxer.tracks.h265.SEIMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of muxer Show documentation
Show all versions of muxer Show documentation
This package has a focus on file operation. It can read A/V data from Random Access Datasources
package org.mp4parser.muxer.tracks.h265;
import org.mp4parser.boxes.iso14496.part1.objectdescriptors.BitReaderBuffer;
import java.io.IOException;
/**
* Created by sannies on 03.02.2015.
*/
public class SEIMessage {
public SEIMessage(BitReaderBuffer bsr) throws IOException {
int payloadType = 0;
long ff_byte;
while ((ff_byte = bsr.readBits(8)) == 0xFF) {
payloadType += 255;
}
int last_payload_type_byte = (int) bsr.readBits(8);
payloadType += last_payload_type_byte;
int payloadSize = 0;
while ((ff_byte = bsr.readBits(8)) == 0xFF) {
payloadSize += 255;
}
int last_payload_size_byte = (int) bsr.readBits(8);
payloadSize += last_payload_size_byte;
System.err.println("payloadType " + payloadType);
//sei_payload(payloadType, payloadSize );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy