public final class MediaContainerTool
extends java.lang.Object
MediaContainerTool
- media container tool.Modifier and Type | Method and Description |
---|---|
static long |
estimateOpenFileReader(java.io.File file)
Estimates time to open media
file . |
static long |
estimateOpenFileReader(java.lang.String file)
Estimates time to open media
file . |
static void |
printSamples(java.io.PrintStream out,
java.io.File file,
int trackType,
int iframe,
int frames)
Prints media container samples.
|
static void |
printStructure(java.io.PrintStream out,
java.io.File file)
Prints media file structure.
|
static void |
printStructure(java.io.PrintStream out,
java.io.File file,
java.lang.String[] excluded)
Prints media file structure.
|
static void |
printStructure(java.io.PrintStream out,
MediaContainer container,
RandomAccessInputStream rais,
java.lang.String[] excluded)
Prints media container structure.
|
static void |
printStructure(java.io.PrintStream out,
RandomAccessInputStream rais,
java.lang.String[] excluded)
Prints media container structure.
|
static void |
printStructure(java.io.PrintStream out,
java.lang.String file)
Prints media file structure.
|
public static long estimateOpenFileReader(java.lang.String file) throws java.lang.Exception
file
.file
- java.lang.Exception
- if an exception occurredpublic static long estimateOpenFileReader(java.io.File file) throws java.lang.Exception
file
.file
- java.lang.Exception
- if an exception occurredpublic static void printSamples(java.io.PrintStream out, java.io.File file, int trackType, int iframe, int frames) throws java.lang.Exception
out
- file
- media filetrackType
- track typeiframe
- initial frame idframes
- number of framesjava.lang.Exception
- if an exception occurredpublic static void printStructure(java.io.PrintStream out, java.lang.String file) throws java.lang.Exception
out
- file
- java.lang.Exception
- if an exception occurredpublic static void printStructure(java.io.PrintStream out, java.io.File file) throws java.lang.Exception
out
- file
- java.lang.Exception
- if an exception occurredpublic static void printStructure(java.io.PrintStream out, java.io.File file, java.lang.String[] excluded) throws java.lang.Exception
out
- file
- excluded
- excluded elementsjava.lang.Exception
- if an exception occurredpublic static void printStructure(java.io.PrintStream out, RandomAccessInputStream rais, java.lang.String[] excluded) throws java.lang.Exception
out
- rais
- excluded
- excluded elementsjava.lang.Exception
- if an exception occurredpublic static void printStructure(java.io.PrintStream out, MediaContainer container, RandomAccessInputStream rais, java.lang.String[] excluded) throws java.lang.Exception
out
- container
- rais
- excluded
- excluded elementsjava.lang.Exception
- if an exception occurred