1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

lavc: add AV_CODEC_ID_SMPTE_436M_ANC

This creates a new codec id for mxf vbi_vanc_smpte_436M streams.
This makes it easier to use from other [de]muxers and bitstream filters.

It's just the data in Table 7 (starts on page 13) of:
https://pub.smpte.org/latest/st436/s436m-2006.pdf

Signed-off-by: Jacob Lifshay <programmerjake@gmail.com>
This commit is contained in:
Jacob Lifshay
2025-07-10 19:31:38 -07:00
parent c421da385f
commit f4ff379bae
4 changed files with 11 additions and 1 deletions

View File

@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2025-03-28
API changes, most recent first: API changes, most recent first:
2025-07-10 - xxxxxxxxxx - lavc 62.10.100 - codec_id.h
Add AV_CODEC_ID_SMPTE_436M_ANC.
2025-08-08 - xxxxxxxxxx - lavc 62.9.100 - codec_id.h 2025-08-08 - xxxxxxxxxx - lavc 62.9.100 - codec_id.h
Add AV_CODEC_ID_PRORES_RAW. Add AV_CODEC_ID_PRORES_RAW.

View File

@@ -3770,6 +3770,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
.name = "lcevc", .name = "lcevc",
.long_name = NULL_IF_CONFIG_SMALL("LCEVC (Low Complexity Enhancement Video Coding) / MPEG-5 LCEVC / MPEG-5 part 2"), .long_name = NULL_IF_CONFIG_SMALL("LCEVC (Low Complexity Enhancement Video Coding) / MPEG-5 LCEVC / MPEG-5 part 2"),
}, },
{
.id = AV_CODEC_ID_SMPTE_436M_ANC,
.type = AVMEDIA_TYPE_DATA,
.name = "smpte_436m_anc",
.long_name = NULL_IF_CONFIG_SMALL("MXF SMPTE-436M ANC"),
},
{ {
.id = AV_CODEC_ID_MPEG2TS, .id = AV_CODEC_ID_MPEG2TS,
.type = AVMEDIA_TYPE_DATA, .type = AVMEDIA_TYPE_DATA,

View File

@@ -603,6 +603,7 @@ enum AVCodecID {
AV_CODEC_ID_BIN_DATA, AV_CODEC_ID_BIN_DATA,
AV_CODEC_ID_SMPTE_2038, AV_CODEC_ID_SMPTE_2038,
AV_CODEC_ID_LCEVC, AV_CODEC_ID_LCEVC,
AV_CODEC_ID_SMPTE_436M_ANC,
AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it

View File

@@ -29,7 +29,7 @@
#include "version_major.h" #include "version_major.h"
#define LIBAVCODEC_VERSION_MINOR 9 #define LIBAVCODEC_VERSION_MINOR 10
#define LIBAVCODEC_VERSION_MICRO 100 #define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \