Package | Description |
---|---|
org.bytedeco.ffmpeg.avformat | |
org.bytedeco.ffmpeg.global |
Modifier and Type | Method and Description |
---|---|
void |
AVFormatContext.Io_close_AVFormatContext_AVIOContext.call(AVFormatContext s,
AVIOContext pb) |
int |
AVOpenCallback.call(AVFormatContext s,
AVIOContext pb,
BytePointer url,
int flags,
AVIOInterruptCB int_cb,
AVDictionary options) |
AVFormatContext |
AVFormatContext.pb(AVIOContext setter) |
Modifier and Type | Method and Description |
---|---|
static AVIOContext |
avformat.avio_alloc_context(byte[] buffer,
int buffer_size,
int write_flag,
Pointer opaque,
Read_packet_Pointer_byte___int read_packet,
Write_packet_Pointer_byte___int write_packet,
Seek_Pointer_long_int seek) |
static AVIOContext |
avformat.avio_alloc_context(ByteBuffer buffer,
int buffer_size,
int write_flag,
Pointer opaque,
Read_packet_Pointer_ByteBuffer_int read_packet,
Write_packet_Pointer_ByteBuffer_int write_packet,
Seek_Pointer_long_int seek) |
static AVIOContext |
avformat.avio_alloc_context(BytePointer buffer,
int buffer_size,
int write_flag,
Pointer opaque,
Read_packet_Pointer_BytePointer_int read_packet,
Write_packet_Pointer_BytePointer_int write_packet,
Seek_Pointer_long_int seek) |
Modifier and Type | Method and Description |
---|---|
static int |
avformat.av_append_packet(AVIOContext s,
AVPacket pkt,
int size)
Read data and append it to the current content of the AVPacket.
|
static int |
avformat.av_get_packet(AVIOContext s,
AVPacket pkt,
int size)
Allocate and read the payload of a packet and initialize its
fields with default values.
|
static int |
avformat.av_probe_input_buffer(AVIOContext pb,
AVInputFormat fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer(AVIOContext pb,
AVInputFormat fmt,
String url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer(AVIOContext pb,
PointerPointer fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size)
Like av_probe_input_buffer2() but returns 0 on success
|
static int |
avformat.av_probe_input_buffer2(AVIOContext pb,
AVInputFormat fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer2(AVIOContext pb,
AVInputFormat fmt,
String url,
Pointer logctx,
int offset,
int max_probe_size) |
static int |
avformat.av_probe_input_buffer2(AVIOContext pb,
PointerPointer fmt,
BytePointer url,
Pointer logctx,
int offset,
int max_probe_size)
Probe a bytestream to determine the input format.
|
static int |
avformat.avio_accept(AVIOContext s,
AVIOContext c) |
static int |
avformat.avio_accept(AVIOContext s,
PointerPointer c)
Accept and allocate a client context on a server context.
|
static int |
avformat.avio_close_dyn_buf(AVIOContext s,
byte[] pbuffer) |
static int |
avformat.avio_close_dyn_buf(AVIOContext s,
ByteBuffer pbuffer) |
static int |
avformat.avio_close_dyn_buf(AVIOContext s,
BytePointer pbuffer) |
static int |
avformat.avio_close_dyn_buf(AVIOContext s,
PointerPointer pbuffer)
Return the written size and a pointer to the buffer.
|
static int |
avformat.avio_close(AVIOContext s)
Close the resource accessed by the AVIOContext s and free it.
|
static int |
avformat.avio_closep(AVIOContext s) |
static void |
avformat.avio_context_free(AVIOContext s) |
static int |
avformat.avio_feof(AVIOContext s)
Similar to feof() but also returns nonzero on read errors.
|
static void |
avformat.avio_flush(AVIOContext s)
Force flushing of buffered data.
|
static int |
avformat.avio_get_dyn_buf(AVIOContext s,
byte[] pbuffer) |
static int |
avformat.avio_get_dyn_buf(AVIOContext s,
ByteBuffer pbuffer) |
static int |
avformat.avio_get_dyn_buf(AVIOContext s,
BytePointer pbuffer) |
static int |
avformat.avio_get_dyn_buf(AVIOContext s,
PointerPointer pbuffer)
Return the written size and a pointer to the buffer.
|
static int |
avformat.avio_get_str(AVIOContext pb,
int maxlen,
byte[] buf,
int buflen) |
static int |
avformat.avio_get_str(AVIOContext pb,
int maxlen,
ByteBuffer buf,
int buflen) |
static int |
avformat.avio_get_str(AVIOContext pb,
int maxlen,
BytePointer buf,
int buflen)
Read a string from pb into buf.
|
static int |
avformat.avio_get_str16be(AVIOContext pb,
int maxlen,
byte[] buf,
int buflen) |
static int |
avformat.avio_get_str16be(AVIOContext pb,
int maxlen,
ByteBuffer buf,
int buflen) |
static int |
avformat.avio_get_str16be(AVIOContext pb,
int maxlen,
BytePointer buf,
int buflen) |
static int |
avformat.avio_get_str16le(AVIOContext pb,
int maxlen,
byte[] buf,
int buflen) |
static int |
avformat.avio_get_str16le(AVIOContext pb,
int maxlen,
ByteBuffer buf,
int buflen) |
static int |
avformat.avio_get_str16le(AVIOContext pb,
int maxlen,
BytePointer buf,
int buflen)
Read a UTF-16 string from pb and convert it to UTF-8.
|
static int |
avformat.avio_handshake(AVIOContext c)
Perform one step of the protocol handshake to accept a new client.
|
static int |
avformat.avio_open_dyn_buf(AVIOContext s) |
static int |
avformat.avio_open(AVIOContext s,
BytePointer url,
int flags) |
static int |
avformat.avio_open(AVIOContext s,
String url,
int flags) |
static int |
avformat.avio_open2(AVIOContext s,
BytePointer url,
int flags,
AVIOInterruptCB int_cb,
AVDictionary options) |
static int |
avformat.avio_open2(AVIOContext s,
String url,
int flags,
AVIOInterruptCB int_cb,
AVDictionary options) |
static int |
avformat.avio_pause(AVIOContext h,
int pause)
Pause and resume playing - only meaningful if using a network streaming
protocol (e.g.
|
static int |
avformat.avio_printf(AVIOContext s,
BytePointer fmt)
\warning Writes up to 4 KiB per call
|
static int |
avformat.avio_printf(AVIOContext s,
String fmt) |
static int |
avformat.avio_put_str(AVIOContext s,
BytePointer str)
Write a NULL-terminated string.
|
static int |
avformat.avio_put_str(AVIOContext s,
String str) |
static int |
avformat.avio_put_str16be(AVIOContext s,
BytePointer str)
Convert an UTF-8 string to UTF-16BE and write it.
|
static int |
avformat.avio_put_str16be(AVIOContext s,
String str) |
static int |
avformat.avio_put_str16le(AVIOContext s,
BytePointer str)
Convert an UTF-8 string to UTF-16LE and write it.
|
static int |
avformat.avio_put_str16le(AVIOContext s,
String str) |
static int |
avformat.avio_r8(AVIOContext s)
\name Functions for reading from AVIOContext
\{
\note return 0 if EOF, so you cannot use it if EOF handling is
necessary
|
static int |
avformat.avio_rb16(AVIOContext s) |
static int |
avformat.avio_rb24(AVIOContext s) |
static int |
avformat.avio_rb32(AVIOContext s) |
static long |
avformat.avio_rb64(AVIOContext s) |
static int |
avformat.avio_read_partial(AVIOContext s,
byte[] buf,
int size) |
static int |
avformat.avio_read_partial(AVIOContext s,
ByteBuffer buf,
int size) |
static int |
avformat.avio_read_partial(AVIOContext s,
BytePointer buf,
int size)
Read size bytes from AVIOContext into buf.
|
static int |
avformat.avio_read_to_bprint(AVIOContext h,
Pointer pb,
long max_size)
Read contents of h into print buffer, up to max_size bytes, or up to EOF.
|
static int |
avformat.avio_read(AVIOContext s,
byte[] buf,
int size) |
static int |
avformat.avio_read(AVIOContext s,
ByteBuffer buf,
int size) |
static int |
avformat.avio_read(AVIOContext s,
BytePointer buf,
int size)
Read size bytes from AVIOContext into buf.
|
static int |
avformat.avio_rl16(AVIOContext s) |
static int |
avformat.avio_rl24(AVIOContext s) |
static int |
avformat.avio_rl32(AVIOContext s) |
static long |
avformat.avio_rl64(AVIOContext s) |
static long |
avformat.avio_seek_time(AVIOContext h,
int stream_index,
long timestamp,
int flags)
Seek to a given timestamp relative to some component stream.
|
static long |
avformat.avio_seek(AVIOContext s,
long offset,
int whence)
fseek() equivalent for AVIOContext.
|
static long |
avformat.avio_size(AVIOContext s)
Get the filesize.
|
static long |
avformat.avio_skip(AVIOContext s,
long offset)
Skip given number of bytes forward
|
static long |
avformat.avio_tell(AVIOContext s)
ftell() equivalent for AVIOContext.
|
static void |
avformat.avio_w8(AVIOContext s,
int b) |
static void |
avformat.avio_wb16(AVIOContext s,
int val) |
static void |
avformat.avio_wb24(AVIOContext s,
int val) |
static void |
avformat.avio_wb32(AVIOContext s,
int val) |
static void |
avformat.avio_wb64(AVIOContext s,
long val) |
static void |
avformat.avio_wl16(AVIOContext s,
int val) |
static void |
avformat.avio_wl24(AVIOContext s,
int val) |
static void |
avformat.avio_wl32(AVIOContext s,
int val) |
static void |
avformat.avio_wl64(AVIOContext s,
long val) |
static void |
avformat.avio_write_marker(AVIOContext s,
long time,
int type)
Mark the written bytestream as a specific type.
|
static void |
avformat.avio_write(AVIOContext s,
byte[] buf,
int size) |
static void |
avformat.avio_write(AVIOContext s,
ByteBuffer buf,
int size) |
static void |
avformat.avio_write(AVIOContext s,
BytePointer buf,
int size) |
Copyright © 2020. All rights reserved.