
public class MuxerFormat extends ContainerFormat
ContainerFormat.Flag| Modifier and Type | Method and Description |
|---|---|
MuxerFormat |
copyReference()
Create a new MuxerFormat object that is actually referring to the
exact same underlying native object.
|
boolean |
equals(Object obj)
Compares two values, returning true if the underlying objects in native code are the same object.
|
long |
getBestCodecTag(Codec.ID id)
Get the 'best' codec tag for the given codec id for this container.
|
Codec.ID |
getDefaultAudioCodecId()
Get the default audio codec for this format.
|
Codec.ID |
getDefaultSubtitleCodecId()
Get the default subtitle coded for this format.
|
Codec.ID |
getDefaultVideoCodecId()
Get the default video codec for this format.
|
String |
getExtensions()
A comma-separated list of supported filename extensions
|
int |
getFlags()
Flags that tell you what capabilities this format supports.
|
static MuxerFormat |
getFormat(int index)
Return an object for the input format at the given index.
|
static Collection<MuxerFormat> |
getFormats()
Return a collection of all output formats installed on this system.
|
String |
getLongName()
Descriptive name for the format, meant to be more human-readable
than name. |
String |
getMimeType()
Get the mime type for this format.
|
String |
getName()
Name for format.
|
static int |
getNumFormats()
Get the number of input formats this install can demultiplex (read)
from. |
Codec.ID |
guessCodec(String shortName,
String filename,
String mimeType,
MediaDescriptor.Type type) |
static MuxerFormat |
guessFormat(String shortName,
String filename,
String mimeType)
Return the sink format in the list of registered sink formats
which best matches the provided parameters, or return NULL if there is no match. |
int |
hashCode()
Get a hashable value for this object.
|
String |
toString()
info about this format object
|
getFlag, getSupportedCodecs, getSupportedTagsdelete, getCurrentRefCountpublic MuxerFormat copyReference()
copyReference in class ContainerFormatpublic boolean equals(Object obj)
equals in class ContainerFormatpublic int hashCode()
hashCode in class ContainerFormatpublic String toString()
ContainerFormattoString in class ContainerFormatpublic static Collection<MuxerFormat> getFormats()
public String getName()
getName in class ContainerFormatpublic String getLongName()
getLongName in class ContainerFormatpublic String getExtensions()
getExtensions in class ContainerFormatpublic int getFlags()
getFlags in class ContainerFormatpublic Codec.ID getDefaultAudioCodecId()
public Codec.ID getDefaultVideoCodecId()
public Codec.ID getDefaultSubtitleCodecId()
public String getMimeType()
public static MuxerFormat guessFormat(String shortName, String filename, String mimeType)
shortName - if non-NULL checks if short_name matches with thefilename - if non-NULL checks if filename terminates with themimeType - if non-NULL checks if mime_type matches with thepublic Codec.ID guessCodec(String shortName, String filename, String mimeType, MediaDescriptor.Type type)
public long getBestCodecTag(Codec.ID id)
public static int getNumFormats()
public static MuxerFormat getFormat(int index)
index - an index for the input format list we maintainCopyright © 2018 Humble Software. All rights reserved.