public class MTSUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MTSUtils.TSReader |
| Constructor and Description |
|---|
MTSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getAudioPid(File src) |
static int[] |
getMediaPids(File src) |
static int[] |
getMediaPidsFromChannel(SeekableByteChannel src) |
static PMTSection.PMTStream[] |
getProgramGuids(File src) |
static PMTSection.PMTStream[] |
getProgramGuidsFromChannel(SeekableByteChannel _in) |
static int |
getVideoPid(File src) |
static int |
parsePAT(ByteBuffer data)
Deprecated.
Use org.jcodec.containers.mps.psi.PAT.parse method instead,
this method will not work correctly for streams with multiple
programs
|
static PMTSection |
parsePMT(ByteBuffer data)
Deprecated.
|
static PSISection |
parseSection(ByteBuffer data)
Deprecated.
|
@Deprecated public static int parsePAT(ByteBuffer data)
data - @Deprecated public static PMTSection parsePMT(ByteBuffer data)
@Deprecated public static PSISection parseSection(ByteBuffer data)
public static PMTSection.PMTStream[] getProgramGuids(File src) throws IOException
IOExceptionpublic static PMTSection.PMTStream[] getProgramGuidsFromChannel(SeekableByteChannel _in) throws IOException
IOExceptionpublic static int getVideoPid(File src) throws IOException
IOExceptionpublic static int getAudioPid(File src) throws IOException
IOExceptionpublic static int[] getMediaPidsFromChannel(SeekableByteChannel src) throws IOException
IOExceptionpublic static int[] getMediaPids(File src) throws IOException
IOExceptionCopyright © 2019. All rights reserved.