FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
rtpenc_mpegts.c File Reference
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  MuxChain
 

Functions

static int rtp_mpegts_write_close (AVFormatContext *s)
 
static int rtp_mpegts_write_header (AVFormatContext *s)
 
static int rtp_mpegts_write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVOutputFormat ff_rtp_mpegts_muxer
 

Function Documentation

static int rtp_mpegts_write_close ( AVFormatContext s)
static

Definition at line 31 of file rtpenc_mpegts.c.

Referenced by rtp_mpegts_write_header().

static int rtp_mpegts_write_header ( AVFormatContext s)
static

Definition at line 47 of file rtpenc_mpegts.c.

static int rtp_mpegts_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 113 of file rtpenc_mpegts.c.

Variable Documentation

AVOutputFormat ff_rtp_mpegts_muxer
Initial value:
= {
.name = "rtp_mpegts",
.long_name = NULL_IF_CONFIG_SMALL("RTP/mpegts output format"),
.priv_data_size = sizeof(struct MuxChain),
.audio_codec = AV_CODEC_ID_AAC,
.video_codec = AV_CODEC_ID_MPEG4,
.write_header = rtp_mpegts_write_header,
.write_packet = rtp_mpegts_write_packet,
.write_trailer = rtp_mpegts_write_close,
}
static int rtp_mpegts_write_header(AVFormatContext *s)
Definition: rtpenc_mpegts.c:47
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int rtp_mpegts_write_close(AVFormatContext *s)
Definition: rtpenc_mpegts.c:31
static int rtp_mpegts_write_packet(AVFormatContext *s, AVPacket *pkt)

Definition at line 150 of file rtpenc_mpegts.c.