Go to the source code of this file.
◆ MCC_HEADER
◆ MCC_HEADER_PRINTF_ARGS
| #define MCC_HEADER_PRINTF_ARGS |
( |
| mcc_version | ) |
|
◆ OFFSET
◆ ENC
◆ MCCVersion
| Enumerator |
|---|
| MCC_VERSION_1 | |
| MCC_VERSION_2 | |
| MCC_VERSION_MIN | |
| MCC_VERSION_MAX | |
Definition at line 53 of file mccenc.c.
◆ mcc_write_header()
◆ mcc_bytes_to_hex()
| static void mcc_bytes_to_hex |
( |
char * | dest, |
|
|
const uint8_t * | bytes, |
|
|
size_t | bytes_size, |
|
|
int | use_u_alias ) |
|
static |
◆ mcc_write_packet()
◆ mcc_init()
◆ mcc_query_codec()
| static int mcc_query_codec |
( |
enum AVCodecID | codec_id, |
|
|
int | std_compliance ) |
|
static |
◆ mcc_ffmpeg_uuid
| const char mcc_ffmpeg_uuid[] = "0087C4F6-A6B4-5469-8C8E-BBF44950401D" |
|
static |
generated with the bash command:
URL="https://code.ffmpeg.org/FFmpeg/FFmpeg/src/branch/master/libavformat/mccenc.c"
python3 -c "from uuid import *; print(str(uuid5(NAMESPACE_URL, '$URL')).upper())"
Definition at line 110 of file mccenc.c.
Referenced by mcc_write_header().
◆ valid_time_code_rates
Initial value:= {
{ .num = 24, .den = 1 },
{ .num = 25, .den = 1 },
{ .num = 30000, .den = 1001 },
{ .num = 30, .den = 1 },
{ .num = 50, .den = 1 },
{ .num = 60000, .den = 1001 },
{ .num = 60, .den = 1 },
}
Definition at line 112 of file mccenc.c.
◆ options
Initial value:= {
{
"override_time_code_rate",
"override the `Time Code Rate` value in the output",
OFFSET(override_time_code_rate),
AV_OPT_TYPE_STRING, { .str =
NULL }, 0, INT_MAX,
ENC },
{
"use_u_alias",
"use the U alias for E1h 00h 00h 00h, disabled by default because some .mcc files disagree on whether it has 2 or 3 zero bytes",
OFFSET(use_u_alias),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
ENC },
}
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
@ AV_OPT_TYPE_UINT
Underlying C type is unsigned int.
Definition at line 458 of file mccenc.c.
◆ mcc_muxer_class
Initial value:= {
.class_name = "mcc muxer",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 468 of file mccenc.c.
◆ ff_mcc_muxer
Initial value:= {
.p.name = "mcc",
.p.extensions = "mcc",
}
int(* init)(AVBSFContext *ctx)
static int write_packet(Muxer *mux, OutputStream *ost, AVPacket *pkt)
static void write_header(FFV1Context *f)
static int query_codec(enum AVCodecID id, int std_compliance)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static const AVClass mcc_muxer_class
static int mcc_query_codec(enum AVCodecID codec_id, int std_compliance)
static int mcc_write_header(AVFormatContext *avf)
static int mcc_init(AVFormatContext *avf)
static int mcc_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition at line 475 of file mccenc.c.