| Package | Description |
|---|---|
| io.humble.video |
The Humble Video library for decoding and encoding audio and pictures (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
MediaPacket |
MediaPacket.copyReference()
Create a new MediaPacket object that is actually referring to the
exact same underlying native object.
|
MediaPacket |
ContainerStream.getAttachedPic()
For containers with Stream.Disposition.DISPOSITION_ATTACHED_PIC,
this returns a read-only copy of the packet containing the picture (needs to be decoded separately). |
static MediaPacket |
MediaPacket.make()
Create a new Packet
|
static MediaPacket |
MediaPacket.make(Buffer buffer)
Allocate a new packet that wraps an existing Buffer.
NOTE: At least 16 bytes of the passed in buffer will be used for header information, so the resulting Packet.getSize() will be smaller than Buffer.getBufferSize() . |
static MediaPacket |
MediaPacket.make(int size)
Allocate a new packet.
|
static MediaPacket |
MediaPacket.make(MediaPacket packet,
boolean copyData)
Allocate a new packet wrapping the existing contents of
a passed in packet. |
| Modifier and Type | Method and Description |
|---|---|
static void |
VideoJNI.BitStreamFilter_filter__SWIG_1(long jarg1,
BitStreamFilter jarg1_,
long jarg2,
MediaPacket jarg2_,
String jarg3) |
int |
Decoder.decode(MediaSampled output,
MediaPacket packet,
int byteOffset)
Decode this packet into output.
|
int |
Decoder.decodeAudio(MediaAudio output,
MediaPacket packet,
int byteOffset)
Decode this packet into output.
|
static int |
VideoJNI.Decoder_decode(long jarg1,
Decoder jarg1_,
long jarg2,
MediaSampled jarg2_,
long jarg3,
MediaPacket jarg3_,
int jarg4) |
static int |
VideoJNI.Decoder_decodeAudio(long jarg1,
Decoder jarg1_,
long jarg2,
MediaAudio jarg2_,
long jarg3,
MediaPacket jarg3_,
int jarg4) |
static int |
VideoJNI.Decoder_decodeVideo(long jarg1,
Decoder jarg1_,
long jarg2,
MediaPicture jarg2_,
long jarg3,
MediaPacket jarg3_,
int jarg4) |
int |
Decoder.decodeVideo(MediaPicture output,
MediaPacket packet,
int byteOffset)
Decode this packet into output.
The caller is responsible for allocating the MediaPicture object. |
static int |
VideoJNI.Demuxer_read(long jarg1,
Demuxer jarg1_,
long jarg2,
MediaPacket jarg2_) |
void |
Encoder.encode(MediaPacket output,
MediaSampled media)
Encode the given Media using this encoder.
Callers should call this repeatedly on a media object ntil we consume all the media. Also, when done in order to flush the encoder, caller should call this method passing in 0 (null) for media to tell the encoder to flush any data it was keeping a hold of. |
void |
Encoder.encodeAudio(MediaPacket output,
MediaAudio samples)
Encode the given MediaAudio using this encoder.
Callers should call this repeatedly on a set of samples until we consume all the samples. Also, when done in order to flush the encoder, caller should call this method passing in 0 (null) for samples to tell the encoder to flush any data it was keeping a hold of. |
static void |
VideoJNI.Encoder_encode(long jarg1,
Encoder jarg1_,
long jarg2,
MediaPacket jarg2_,
long jarg3,
MediaSampled jarg3_) |
static void |
VideoJNI.Encoder_encodeAudio(long jarg1,
Encoder jarg1_,
long jarg2,
MediaPacket jarg2_,
long jarg3,
MediaAudio jarg3_) |
static void |
VideoJNI.Encoder_encodeVideo(long jarg1,
Encoder jarg1_,
long jarg2,
MediaPacket jarg2_,
long jarg3,
MediaPicture jarg3_) |
void |
Encoder.encodeVideo(MediaPacket output,
MediaPicture picture)
Encode the given MediaPicture using this encoder.
The MediaPicture will allocate a buffer to use internally for this, and will free it when the frame destroys itself. Also, when done in order to flush the encoder, caller should call this method passing in 0 (null) for frame to tell the encoder to flush any data it was keeping a hold of. |
void |
BitStreamFilter.filter(MediaPacket packet,
String args)
Filters a packet in place (i.e.
|
static MediaPacket |
MediaPacket.make(MediaPacket packet,
boolean copyData)
Allocate a new packet wrapping the existing contents of
a passed in packet. |
static long |
VideoJNI.MediaPacket_getConvergenceDuration(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_getData(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_getDts(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_getDuration(long jarg1,
MediaPacket jarg1_) |
static int |
VideoJNI.MediaPacket_getFlags(long jarg1,
MediaPacket jarg1_) |
static int |
VideoJNI.MediaPacket_getMaxSize(long jarg1,
MediaPacket jarg1_) |
static int |
VideoJNI.MediaPacket_getNumSideDataElems(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_getPosition(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_getPts(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_getSideData(long jarg1,
MediaPacket jarg1_,
int jarg2) |
static int |
VideoJNI.MediaPacket_getSideDataType(long jarg1,
MediaPacket jarg1_,
int jarg2) |
static int |
VideoJNI.MediaPacket_getSize(long jarg1,
MediaPacket jarg1_) |
static int |
VideoJNI.MediaPacket_getStreamIndex(long jarg1,
MediaPacket jarg1_) |
static boolean |
VideoJNI.MediaPacket_isKeyPacket(long jarg1,
MediaPacket jarg1_) |
static long |
VideoJNI.MediaPacket_make__SWIG_2(long jarg1,
MediaPacket jarg1_,
boolean jarg2) |
static void |
VideoJNI.MediaPacket_reset(long jarg1,
MediaPacket jarg1_,
int jarg2) |
static void |
VideoJNI.MediaPacket_setConvergenceDuration(long jarg1,
MediaPacket jarg1_,
long jarg2) |
static void |
VideoJNI.MediaPacket_setDts(long jarg1,
MediaPacket jarg1_,
long jarg2) |
static void |
VideoJNI.MediaPacket_setDuration(long jarg1,
MediaPacket jarg1_,
long jarg2) |
static void |
VideoJNI.MediaPacket_setFlags(long jarg1,
MediaPacket jarg1_,
int jarg2) |
static void |
VideoJNI.MediaPacket_setKeyPacket(long jarg1,
MediaPacket jarg1_,
boolean jarg2) |
static void |
VideoJNI.MediaPacket_setPosition(long jarg1,
MediaPacket jarg1_,
long jarg2) |
static void |
VideoJNI.MediaPacket_setPts(long jarg1,
MediaPacket jarg1_,
long jarg2) |
static void |
VideoJNI.MediaPacket_setStreamIndex(long jarg1,
MediaPacket jarg1_,
int jarg2) |
static boolean |
VideoJNI.Muxer_write(long jarg1,
Muxer jarg1_,
long jarg2,
MediaPacket jarg2_,
boolean jarg3) |
int |
Demuxer.read(MediaPacket packet)
Reads the next packet in the Demuxer into the Packet.
|
boolean |
Muxer.write(MediaPacket packet,
boolean forceInterleave)
Writes the given packet to the Muxer.
|
Copyright © 2018 Humble Software. All rights reserved.