Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PROBE_PACKETS
Number of packets to buffer for codec probing
|
static int |
MAX_REORDER_DELAY |
static int |
MAX_STD_TIMEBASES
Stream information used internally by av_find_stream_info()
|
| Constructor and Description |
|---|
avformat.AVStream() |
avformat.AVStream(int size) |
avformat.AVStream(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
avcodec.AVPacket |
attached_pic()
For streams with AV_DISPOSITION_ATTACHED_PIC disposition, this packet
will contain the attached picture.
|
avformat.AVStream |
attached_pic(avcodec.AVPacket attached_pic) |
avutil.AVRational |
avg_frame_rate()
Average framerate
|
avformat.AVStream |
avg_frame_rate(avutil.AVRational avg_frame_rate) |
int |
codec_info_nb_frames()
Number of frames that have been demuxed during av_find_stream_info()
|
avformat.AVStream |
codec_info_nb_frames(int codec_info_nb_frames) |
avcodec.AVCodecContext |
codec()
Codec context associated with this stream.
|
avformat.AVStream |
codec(avcodec.AVCodecContext codec) |
long |
cur_dts() |
avformat.AVStream |
cur_dts(long cur_dts) |
int |
discard()
Selects which packets can be discarded at will and do not need to be demuxed.
|
avformat.AVStream |
discard(int discard) |
int |
disposition()
AV_DISPOSITION_* bit field
|
avformat.AVStream |
disposition(int disposition) |
long |
do_not_use() |
avformat.AVStream |
do_not_use(long do_not_use) |
byte |
dts_misordered() |
avformat.AVStream |
dts_misordered(byte dts_misordered) |
byte |
dts_ordered() |
avformat.AVStream |
dts_ordered(byte dts_ordered) |
long |
duration()
Decoding: duration of the stream, in stream time base.
|
avformat.AVStream |
duration(long duration) |
long |
first_dts()
Timestamp corresponding to the last dts sync point.
|
avformat.AVStream |
first_dts(long first_dts) |
int |
id()
Format-specific stream ID.
|
avformat.AVStream |
id(int id) |
int |
index_entries_allocated_size() |
avformat.AVStream |
index_entries_allocated_size(int index_entries_allocated_size) |
avformat.AVIndexEntry |
index_entries()
Only used if the format does not
support seeking natively.
|
avformat.AVStream |
index_entries(avformat.AVIndexEntry index_entries) |
int |
index()
stream index in AVFormatContext
|
avformat.AVStream |
index(int index) |
long |
info_codec_info_duration_fields(int i) |
avformat.AVStream |
info_codec_info_duration_fields(int i,
long info_codec_info_duration_fields) |
long |
info_codec_info_duration(int i) |
avformat.AVStream |
info_codec_info_duration(int i,
long info_codec_info_duration) |
int |
info_duration_count(int i) |
avformat.AVStream |
info_duration_count(int i,
int info_duration_count) |
DoublePointer |
info_duration_error(int i) |
long |
info_duration_gcd(int i) |
avformat.AVStream |
info_duration_gcd(int i,
long info_duration_gcd) |
int |
info_found_decoder(int i) |
avformat.AVStream |
info_found_decoder(int i,
int info_found_decoder) |
int |
info_fps_first_dts_idx(int i) |
avformat.AVStream |
info_fps_first_dts_idx(int i,
int info_fps_first_dts_idx) |
long |
info_fps_first_dts(int i)
Those are used for average framerate estimation.
|
avformat.AVStream |
info_fps_first_dts(int i,
long info_fps_first_dts) |
int |
info_fps_last_dts_idx(int i) |
avformat.AVStream |
info_fps_last_dts_idx(int i,
int info_fps_last_dts_idx) |
long |
info_fps_last_dts(int i) |
avformat.AVStream |
info_fps_last_dts(int i,
long info_fps_last_dts) |
long |
info_last_dts(int i) |
avformat.AVStream |
info_last_dts(int i,
long info_last_dts) |
long |
info_last_duration(int i) |
avformat.AVStream |
info_last_duration(int i,
long info_last_duration) |
long |
info_rfps_duration_sum(int i) |
avformat.AVStream |
info_rfps_duration_sum(int i,
long info_rfps_duration_sum) |
long |
interleaver_chunk_duration() |
avformat.AVStream |
interleaver_chunk_duration(long interleaver_chunk_duration) |
long |
interleaver_chunk_size() |
avformat.AVStream |
interleaver_chunk_size(long interleaver_chunk_size) |
long |
last_dts_for_order_check()
Internal data to analyze DTS and detect faulty mpeg streams
|
avformat.AVStream |
last_dts_for_order_check(long last_dts_for_order_check) |
avformat.AVPacketList |
last_in_packet_buffer()
last packet in packet_buffer for this stream when muxing.
|
avformat.AVStream |
last_in_packet_buffer(avformat.AVPacketList last_in_packet_buffer) |
int |
last_IP_duration() |
avformat.AVStream |
last_IP_duration(int last_IP_duration) |
long |
last_IP_pts() |
avformat.AVStream |
last_IP_pts(long last_IP_pts) |
avutil.AVDictionary |
metadata() |
avformat.AVStream |
metadata(avutil.AVDictionary metadata) |
long |
mux_ts_offset()
Timestamp offset added to timestamps before muxing
NOT PART OF PUBLIC API
|
avformat.AVStream |
mux_ts_offset(long mux_ts_offset) |
int |
nb_decoded_frames()
Number of internally decoded frames, used internally in libavformat, do not access
its lifetime differs from info which is why it is not in that structure.
|
avformat.AVStream |
nb_decoded_frames(int nb_decoded_frames) |
long |
nb_frames()
number of frames in this stream if known or 0
|
avformat.AVStream |
nb_frames(long nb_frames) |
int |
nb_index_entries() |
avformat.AVStream |
nb_index_entries(int nb_index_entries) |
int |
need_parsing() |
avformat.AVStream |
need_parsing(int need_parsing) |
avcodec.AVCodecParserContext |
parser() |
avformat.AVStream |
parser(avcodec.AVCodecParserContext parser) |
avformat.AVStream |
position(int position) |
Pointer |
priv_data() |
avformat.AVStream |
priv_data(Pointer priv_data) |
avformat.AVProbeData |
probe_data() |
avformat.AVStream |
probe_data(avformat.AVProbeData probe_data) |
int |
probe_packets() |
avformat.AVStream |
probe_packets(int probe_packets) |
LongPointer |
pts_buffer() |
long |
pts_buffer(int i) |
avformat.AVStream |
pts_buffer(int i,
long pts_buffer) |
BytePointer |
pts_reorder_error_count() |
byte |
pts_reorder_error_count(int i) |
avformat.AVStream |
pts_reorder_error_count(int i,
byte pts_reorder_error_count) |
LongPointer |
pts_reorder_error() |
long |
pts_reorder_error(int i)
Internal data to generate dts from pts
|
avformat.AVStream |
pts_reorder_error(int i,
long pts_reorder_error) |
int |
pts_wrap_behavior()
Options for behavior, when a wrap is detected.
|
avformat.AVStream |
pts_wrap_behavior(int pts_wrap_behavior) |
int |
pts_wrap_bits()
number of bits in pts (used for wrapping control)
|
avformat.AVStream |
pts_wrap_bits(int pts_wrap_bits) |
long |
pts_wrap_reference()
Internal data to check for wrapping of the time stamp
|
avformat.AVStream |
pts_wrap_reference(long pts_wrap_reference) |
avformat.AVFrac |
pts()
encoding: pts generation when outputting stream
|
avformat.AVStream |
pts(avformat.AVFrac pts) |
avutil.AVRational |
r_frame_rate()
Real base framerate of the stream.
|
avformat.AVStream |
r_frame_rate(avutil.AVRational r_frame_rate) |
int |
request_probe()
stream probing state
-1 -> probing finished
0 -> no probing requested
rest -> perform probing with request_probe being the minimum score to accept.
|
avformat.AVStream |
request_probe(int request_probe) |
avutil.AVRational |
sample_aspect_ratio()
sample aspect ratio (0 if unknown)
- encoding: Set by user.
|
avformat.AVStream |
sample_aspect_ratio(avutil.AVRational sample_aspect_ratio) |
int |
skip_samples()
Number of samples to skip at the start of the frame decoded from the next packet.
|
avformat.AVStream |
skip_samples(int skip_samples) |
int |
skip_to_keyframe()
Indicates that everything up to the next keyframe
should be discarded.
|
avformat.AVStream |
skip_to_keyframe(int skip_to_keyframe) |
long |
start_time()
Decoding: pts of the first frame of the stream in presentation order, in stream time base.
|
avformat.AVStream |
start_time(long start_time) |
int |
stream_identifier()
Stream Identifier
This is the MPEG-TS stream identifier +1
0 means unknown
|
avformat.AVStream |
stream_identifier(int stream_identifier) |
avutil.AVRational |
time_base()
This is the fundamental unit of time (in seconds) in terms
of which frame timestamps are represented.
|
avformat.AVStream |
time_base(avutil.AVRational time_base) |
int |
update_initial_durations_done()
Internal data to prevent doing update_initial_durations() twice
|
avformat.AVStream |
update_initial_durations_done(int update_initial_durations_done) |
address, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic static final int MAX_STD_TIMEBASES
public static final int MAX_PROBE_PACKETS
public static final int MAX_REORDER_DELAY
public avformat.AVStream()
public avformat.AVStream(int size)
public avformat.AVStream(Pointer p)
public avformat.AVStream position(int position)
public int index()
public avformat.AVStream index(int index)
public int id()
public avformat.AVStream id(int id)
public avcodec.AVCodecContext codec()
public avformat.AVStream codec(avcodec.AVCodecContext codec)
public Pointer priv_data()
public avformat.AVStream priv_data(Pointer priv_data)
public avformat.AVFrac pts()
public avformat.AVStream pts(avformat.AVFrac pts)
public avutil.AVRational time_base()
public avformat.AVStream time_base(avutil.AVRational time_base)
public long start_time()
public avformat.AVStream start_time(long start_time)
public long duration()
public avformat.AVStream duration(long duration)
public long nb_frames()
public avformat.AVStream nb_frames(long nb_frames)
public int disposition()
public avformat.AVStream disposition(int disposition)
public int discard()
public avformat.AVStream discard(int discard)
public avutil.AVRational sample_aspect_ratio()
public avformat.AVStream sample_aspect_ratio(avutil.AVRational sample_aspect_ratio)
public avutil.AVDictionary metadata()
public avformat.AVStream metadata(avutil.AVDictionary metadata)
public avutil.AVRational avg_frame_rate()
public avformat.AVStream avg_frame_rate(avutil.AVRational avg_frame_rate)
public avcodec.AVPacket attached_pic()
public avformat.AVStream attached_pic(avcodec.AVPacket attached_pic)
public long info_last_dts(int i)
public avformat.AVStream info_last_dts(int i, long info_last_dts)
public long info_duration_gcd(int i)
public avformat.AVStream info_duration_gcd(int i, long info_duration_gcd)
public int info_duration_count(int i)
public avformat.AVStream info_duration_count(int i, int info_duration_count)
public long info_rfps_duration_sum(int i)
public avformat.AVStream info_rfps_duration_sum(int i, long info_rfps_duration_sum)
public DoublePointer info_duration_error(int i)
public long info_codec_info_duration(int i)
public avformat.AVStream info_codec_info_duration(int i, long info_codec_info_duration)
public long info_codec_info_duration_fields(int i)
public avformat.AVStream info_codec_info_duration_fields(int i, long info_codec_info_duration_fields)
public int info_found_decoder(int i)
public avformat.AVStream info_found_decoder(int i, int info_found_decoder)
public long info_last_duration(int i)
public avformat.AVStream info_last_duration(int i, long info_last_duration)
public long info_fps_first_dts(int i)
public avformat.AVStream info_fps_first_dts(int i, long info_fps_first_dts)
public int info_fps_first_dts_idx(int i)
public avformat.AVStream info_fps_first_dts_idx(int i, int info_fps_first_dts_idx)
public long info_fps_last_dts(int i)
public avformat.AVStream info_fps_last_dts(int i, long info_fps_last_dts)
public int info_fps_last_dts_idx(int i)
public avformat.AVStream info_fps_last_dts_idx(int i, int info_fps_last_dts_idx)
public int pts_wrap_bits()
public avformat.AVStream pts_wrap_bits(int pts_wrap_bits)
public long do_not_use()
public avformat.AVStream do_not_use(long do_not_use)
public long first_dts()
public avformat.AVStream first_dts(long first_dts)
public long cur_dts()
public avformat.AVStream cur_dts(long cur_dts)
public long last_IP_pts()
public avformat.AVStream last_IP_pts(long last_IP_pts)
public int last_IP_duration()
public avformat.AVStream last_IP_duration(int last_IP_duration)
public int probe_packets()
public avformat.AVStream probe_packets(int probe_packets)
public int codec_info_nb_frames()
public avformat.AVStream codec_info_nb_frames(int codec_info_nb_frames)
public int need_parsing()
public avformat.AVStream need_parsing(int need_parsing)
public avcodec.AVCodecParserContext parser()
public avformat.AVStream parser(avcodec.AVCodecParserContext parser)
public avformat.AVPacketList last_in_packet_buffer()
public avformat.AVStream last_in_packet_buffer(avformat.AVPacketList last_in_packet_buffer)
public avformat.AVProbeData probe_data()
public avformat.AVStream probe_data(avformat.AVProbeData probe_data)
public long pts_buffer(int i)
public avformat.AVStream pts_buffer(int i, long pts_buffer)
public LongPointer pts_buffer()
public avformat.AVIndexEntry index_entries()
public avformat.AVStream index_entries(avformat.AVIndexEntry index_entries)
public int nb_index_entries()
public avformat.AVStream nb_index_entries(int nb_index_entries)
public int index_entries_allocated_size()
public avformat.AVStream index_entries_allocated_size(int index_entries_allocated_size)
public avutil.AVRational r_frame_rate()
public avformat.AVStream r_frame_rate(avutil.AVRational r_frame_rate)
public int stream_identifier()
public avformat.AVStream stream_identifier(int stream_identifier)
public long interleaver_chunk_size()
public avformat.AVStream interleaver_chunk_size(long interleaver_chunk_size)
public long interleaver_chunk_duration()
public avformat.AVStream interleaver_chunk_duration(long interleaver_chunk_duration)
public int request_probe()
public avformat.AVStream request_probe(int request_probe)
public int skip_to_keyframe()
public avformat.AVStream skip_to_keyframe(int skip_to_keyframe)
public int skip_samples()
public avformat.AVStream skip_samples(int skip_samples)
public int nb_decoded_frames()
public avformat.AVStream nb_decoded_frames(int nb_decoded_frames)
public long mux_ts_offset()
public avformat.AVStream mux_ts_offset(long mux_ts_offset)
public long pts_wrap_reference()
public avformat.AVStream pts_wrap_reference(long pts_wrap_reference)
public int pts_wrap_behavior()
public avformat.AVStream pts_wrap_behavior(int pts_wrap_behavior)
public int update_initial_durations_done()
public avformat.AVStream update_initial_durations_done(int update_initial_durations_done)
public long pts_reorder_error(int i)
public avformat.AVStream pts_reorder_error(int i, long pts_reorder_error)
public LongPointer pts_reorder_error()
public byte pts_reorder_error_count(int i)
public avformat.AVStream pts_reorder_error_count(int i, byte pts_reorder_error_count)
public BytePointer pts_reorder_error_count()
public long last_dts_for_order_check()
public avformat.AVStream last_dts_for_order_check(long last_dts_for_order_check)
public byte dts_ordered()
public avformat.AVStream dts_ordered(byte dts_ordered)
public byte dts_misordered()
public avformat.AVStream dts_misordered(byte dts_misordered)
Copyright © 2014. All Rights Reserved.