Go to the documentation of this file.
52 const uint8_t *buf,
int len, uint16_t seq,
64 if (
data->read_buf_index >=
data->read_buf_size)
67 data->read_buf_size -
data->read_buf_index);
71 if (
data->read_buf_index <
data->read_buf_size)
86 data->read_buf_index = 0;
98 .static_payload_id = 33,
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
int avpriv_mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt, const uint8_t *buf, int len)
static av_cold int mpegts_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
void avpriv_mpegts_parse_close(MpegTSContext *ts)
@ AVMEDIA_TYPE_DATA
Opaque data information usually continuous.
int(* init)(AVBSFContext *ctx)
const RTPDynamicProtocolHandler ff_mpegts_dynamic_handler
#define RTP_MAX_PACKET_LENGTH
uint8_t * buf
the temporary storage buffer
enum AVMediaType codec_type
static int mpegts_handle_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
MpegTSContext * avpriv_mpegts_parse_open(AVFormatContext *s)
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
This structure stores compressed data.
#define flags(name, subs,...)
RTP/JPEG specific private data.
static void mpegts_close_context(PayloadContext *data)
struct MpegTSContext * ts