FFmpeg
Macros | Functions | Variables
filmstripenc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "rawenc.h"

Go to the source code of this file.

Macros

#define RAND_TAG   MKBETAG('R','a','n','d')
 

Functions

static int write_header (AVFormatContext *s)
 
static int write_trailer (AVFormatContext *s)
 

Variables

const AVOutputFormat ff_filmstrip_muxer
 

Detailed Description

Adobe Filmstrip muxer

Definition in file filmstripenc.c.

Macro Definition Documentation

◆ RAND_TAG

#define RAND_TAG   MKBETAG('R','a','n','d')

Definition at line 32 of file filmstripenc.c.

Function Documentation

◆ write_header()

static int write_header ( AVFormatContext s)
static

Definition at line 34 of file filmstripenc.c.

◆ write_trailer()

static int write_trailer ( AVFormatContext s)
static

Definition at line 43 of file filmstripenc.c.

Variable Documentation

◆ ff_filmstrip_muxer

const AVOutputFormat ff_filmstrip_muxer
Initial value:
= {
.name = "filmstrip",
.long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
.extensions = "flm",
.audio_codec = AV_CODEC_ID_NONE,
.video_codec = AV_CODEC_ID_RAWVIDEO,
.write_header = write_header,
.write_packet = ff_raw_write_packet,
.write_trailer = write_trailer,
}

Definition at line 62 of file filmstripenc.c.

AV_CODEC_ID_RAWVIDEO
@ AV_CODEC_ID_RAWVIDEO
Definition: codec_id.h:63
write_trailer
static int write_trailer(AVFormatContext *s)
Definition: filmstripenc.c:43
ff_raw_write_packet
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawenc.c:29
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:117
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
write_header
static int write_header(AVFormatContext *s)
Definition: filmstripenc.c:34