FFmpeg
Loading...
Searching...
No Matches
filmstripenc.c File Reference

Adobe Filmstrip muxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio_internal.h"
#include "mux.h"
#include "rawenc.h"

Go to the source code of this file.

Macros

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

Functions

static av_cold int init (AVFormatContext *s)
 
static int write_trailer (AVFormatContext *s)
 

Variables

const FFOutputFormat 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 33 of file filmstripenc.c.

Function Documentation

◆ init()

static av_cold int init ( AVFormatContext * s)
static

Definition at line 35 of file filmstripenc.c.

◆ write_trailer()

static int write_trailer ( AVFormatContext * s)
static

Definition at line 44 of file filmstripenc.c.

Variable Documentation

◆ ff_filmstrip_muxer

const FFOutputFormat ff_filmstrip_muxer
Initial value:
= {
.p.name = "filmstrip",
.p.long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
.p.extensions = "flm",
.p.audio_codec = AV_CODEC_ID_NONE,
.p.video_codec = AV_CODEC_ID_RAWVIDEO,
.p.subtitle_codec = AV_CODEC_ID_NONE,
.flags_internal = FF_OFMT_FLAG_MAX_ONE_OF_EACH |
.init = init,
.write_packet = ff_raw_write_packet,
.write_trailer = write_trailer,
}
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
@ AV_CODEC_ID_RAWVIDEO
Definition codec_id.h:63
@ AV_CODEC_ID_NONE
Definition codec_id.h:48
int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt)
Definition rawenc.c:31
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
#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
#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
static int write_trailer(AVFormatContext *s1)
Definition v4l2enc.c:101

Definition at line 63 of file filmstripenc.c.