
public class Global extends RefCounted
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_PTS_PER_SECOND
The default time units per second that we use for decoded
MediaRaw objects. This means that 1 tick of a time stamp is 1 Microsecond. |
static TimeUnit |
DEFAULT_TIME_UNIT
The default unit of time that
MediaRaw time stamps are represented in. |
static long |
NO_PTS
A value that means no time stamp is set for a given object.
if the Media#getTimeStamp() method of an object returns this value it means the time stamp wasn't set. |
| Modifier and Type | Method and Description |
|---|---|
Global |
copyReference()
Create a new Global 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.
|
static int |
getAVCodecVersion()
Get the version of the FFMPEG libavcodec library we are compiled against.
|
static String |
getAVCodecVersionStr()
Get the version of the FFMPEG libavcodec library we are compiled against.
|
static int |
getAVFormatVersion()
Get the version of the FFMPEG libavformat library we are compiled against.
|
static String |
getAVFormatVersionStr()
Get the version of the FFMPEG libavformat library we are compiled against.
|
static Rational |
getDefaultTimeBase()
The default timebase used by media if not otherwise specified.
|
static int |
getVersionMajor()
Get the major version number of this library.
|
static int |
getVersionMinor()
Get the minor version number of this library.
|
static String |
getVersionStr()
Get a string representation of the version of this library.
|
int |
hashCode()
Get a hashable value for this object.
|
static void |
init()
Internal Only.
|
static void |
setFFmpegLoggingLevel(int level)
Internal Only.
|
delete, getCurrentRefCountpublic static final TimeUnit DEFAULT_TIME_UNIT
MediaRaw time stamps are represented in.public static final long NO_PTS
public static final long DEFAULT_PTS_PER_SECOND
public Global copyReference()
copyReference in class RefCountedpublic boolean equals(Object obj)
public int hashCode()
public static Rational getDefaultTimeBase()
public static int getVersionMajor()
public static int getVersionMinor()
public static String getVersionStr()
public static int getAVFormatVersion()
public static String getAVFormatVersionStr()
public static int getAVCodecVersion()
public static String getAVCodecVersionStr()
public static void init()
It's main purpose is to ensure any FFmpeg required environment
initialization functions are called, and any Humble Video required
environmental contexts are set up.
public static void setFFmpegLoggingLevel(int level)
level - An integer value for level. Lower numbersCopyright © 2018 Humble Software. All rights reserved.