FFmpeg
Functions | Variables
apvenc.c File Reference
#include "avformat.h"
#include "mux.h"

Go to the source code of this file.

Functions

static int apv_write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFOutputFormat ff_apv_muxer
 

Function Documentation

◆ apv_write_packet()

static int apv_write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 22 of file apvenc.c.

Variable Documentation

◆ ff_apv_muxer

const FFOutputFormat ff_apv_muxer
Initial value:
= {
.p.name = "apv",
.p.long_name = NULL_IF_CONFIG_SMALL("APV raw bitstream"),
.p.extensions = "apv",
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_APV,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.p.flags = AVFMT_NOTIMESTAMPS,
.write_packet = apv_write_packet,
}

Definition at line 29 of file apvenc.c.

AVFMT_NOTIMESTAMPS
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:479
FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
#define FF_OFMT_FLAG_ONLY_DEFAULT_CODECS
If this flag is set, then the only permitted audio/video/subtitle codec ids are AVOutputFormat....
Definition: mux.h:59
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
apv_write_packet
static int apv_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: apvenc.c:22
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
FF_OFMT_FLAG_MAX_ONE_OF_EACH
#define FF_OFMT_FLAG_MAX_ONE_OF_EACH
If this flag is set, it indicates that for each codec type whose corresponding default codec (i....
Definition: mux.h:50
AV_CODEC_ID_APV
@ AV_CODEC_ID_APV
Definition: codec_id.h:332