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

Go to the source code of this file.

Functions

static int write_header (AVFormatContext *s)
 
static int write_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFOutputFormat ff_mkvtimestamp_v2_muxer
 

Function Documentation

◆ write_header()

static int write_header ( AVFormatContext s)
static

Definition at line 26 of file mkvtimestamp_v2.c.

◆ write_packet()

static int write_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 34 of file mkvtimestamp_v2.c.

Variable Documentation

◆ ff_mkvtimestamp_v2_muxer

const FFOutputFormat ff_mkvtimestamp_v2_muxer
Initial value:
= {
.p.name = "mkvtimestamp_v2",
.p.long_name = NULL_IF_CONFIG_SMALL("extract pts as timecode v2 format, as defined by mkvtoolnix"),
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_RAWVIDEO,
.write_header = write_header,
.write_packet = write_packet,
}

Definition at line 44 of file mkvtimestamp_v2.c.

AV_CODEC_ID_RAWVIDEO
@ AV_CODEC_ID_RAWVIDEO
Definition: codec_id.h:65
write_packet
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mkvtimestamp_v2.c:34
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:106
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
write_header
static int write_header(AVFormatContext *s)
Definition: mkvtimestamp_v2.c:26