Package com.zakgof.velvetvideo.impl.jnr
Interface LibAVFormat
public interface LibAVFormat
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceLibAVFormat.ICustomAvioCallbackstatic interfaceLibAVFormat.IPacketIOstatic interfaceLibAVFormat.ISeeker -
Field Summary
Fields Modifier and Type Field Description static intAVFMT_FLAG_CUSTOM_IOstatic intAVFMT_GLOBALHEADERstatic intAVSEEK_FLAG_ANYstatic intAVSEEK_FLAG_BACKWARDstatic intAVSEEK_FLAG_BYTEstatic intAVSEEK_FLAG_FRAME -
Method Summary
Modifier and Type Method Description AVInputFormatav_demuxer_iterate(jnr.ffi.byref.PointerByReference opaque)voidav_dump_format(AVFormatContext context, int i, java.lang.String string, int j)intav_find_best_stream(AVFormatContext context, int type, int wanted_stream_nb, int related_stream, jnr.ffi.Pointer[] decoder_ret, int flags)AVOutputFormatav_guess_format(java.lang.String short_name, java.lang.String filename, java.lang.String mime_type)intav_interleaved_write_frame(AVFormatContext ctx, AVPacket packet)AVOutputFormatav_muxer_iterate(jnr.ffi.byref.PointerByReference opaque)intav_read_frame(AVFormatContext context, AVPacket pkt)intav_seek_frame(AVFormatContext context, int stream_index, long timestamp, int flags)intav_write_frame(AVFormatContext context, AVPacket packet)intav_write_trailer(AVFormatContext ctx)AVFormatContextavformat_alloc_context()intavformat_alloc_output_context2(jnr.ffi.byref.PointerByReference ctx, AVOutputFormat oformat, java.lang.String format_name, java.lang.String filename)intavformat_find_stream_info(AVFormatContext context, jnr.ffi.Pointer[] options)voidavformat_free_context(AVFormatContext ctx)AVStreamavformat_new_stream(AVFormatContext ctx, AVCodec codec)intavformat_open_input(jnr.ffi.byref.PointerByReference ctx, java.lang.String url, AVInputFormat fmt, jnr.ffi.Pointer[] options)intavformat_write_header(AVFormatContext ctx, jnr.ffi.Pointer[] dictionary)AVIOContextavio_alloc_context(jnr.ffi.Pointer buffer, int buffer_size, int write_flag, jnr.ffi.Pointer opaque, LibAVFormat.IPacketIO reader, LibAVFormat.IPacketIO writer, LibAVFormat.ISeeker seeker)voidavio_context_free(jnr.ffi.Pointer[] avioContext)intavio_open(jnr.ffi.byref.PointerByReference pbref, java.lang.String url, int flags)default java.util.List<java.lang.String>formats(Direction dir)
-
Field Details
-
AVFMT_FLAG_CUSTOM_IO
static final int AVFMT_FLAG_CUSTOM_IO- See Also:
- Constant Field Values
-
AVFMT_GLOBALHEADER
static final int AVFMT_GLOBALHEADER- See Also:
- Constant Field Values
-
AVSEEK_FLAG_BACKWARD
static final int AVSEEK_FLAG_BACKWARD- See Also:
- Constant Field Values
-
AVSEEK_FLAG_BYTE
static final int AVSEEK_FLAG_BYTE- See Also:
- Constant Field Values
-
AVSEEK_FLAG_ANY
static final int AVSEEK_FLAG_ANY- See Also:
- Constant Field Values
-
AVSEEK_FLAG_FRAME
static final int AVSEEK_FLAG_FRAME- See Also:
- Constant Field Values
-
-
Method Details
-
av_demuxer_iterate
-
av_muxer_iterate
-
avformat_alloc_output_context2
int avformat_alloc_output_context2(jnr.ffi.byref.PointerByReference ctx, AVOutputFormat oformat, java.lang.String format_name, java.lang.String filename) -
avformat_new_stream
-
avformat_write_header
-
av_write_trailer
-
avformat_free_context
-
av_guess_format
AVOutputFormat av_guess_format(java.lang.String short_name, java.lang.String filename, java.lang.String mime_type) -
av_write_frame
-
av_interleaved_write_frame
-
avio_alloc_context
AVIOContext avio_alloc_context(jnr.ffi.Pointer buffer, int buffer_size, int write_flag, jnr.ffi.Pointer opaque, LibAVFormat.IPacketIO reader, LibAVFormat.IPacketIO writer, LibAVFormat.ISeeker seeker) -
avio_context_free
void avio_context_free(jnr.ffi.Pointer[] avioContext) -
avformat_open_input
int avformat_open_input(jnr.ffi.byref.PointerByReference ctx, java.lang.String url, AVInputFormat fmt, jnr.ffi.Pointer[] options) -
av_dump_format
-
avio_open
int avio_open(jnr.ffi.byref.PointerByReference pbref, java.lang.String url, int flags) -
avformat_alloc_context
AVFormatContext avformat_alloc_context() -
avformat_find_stream_info
-
av_find_best_stream
int av_find_best_stream(AVFormatContext context, int type, int wanted_stream_nb, int related_stream, jnr.ffi.Pointer[] decoder_ret, int flags) -
av_read_frame
-
av_seek_frame
-
formats
-