History

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

Jacob Lifshay committed 1 year ago

Commit f4ff3791 parent c421da34 files · +11 −1Browse files

Showing the changes to libavcodec (3 of 4 files). Show all

Unified · Split

3 files
  1. libavcodec/codec_desc.c +6 −0
  2. libavcodec/codec_id.h +1 −0
  3. libavcodec/version.h +1 −1
libavcodec/codec_desc.c+6−0
@@ -3770,6 +3770,12 @@ static const AVCodecDescriptor codec_descriptors[] = { · 3769 unmodified lines
37703770 .name = "lcevc",
37713771 .long_name = NULL_IF_CONFIG_SMALL("LCEVC (Low Complexity Enhancement Video Coding) / MPEG-5 LCEVC / MPEG-5 part 2"),
37723772 },
3773+ {
3774+ .id = AV_CODEC_ID_SMPTE_436M_ANC,
3775+ .type = AVMEDIA_TYPE_DATA,
3776+ .name = "smpte_436m_anc",
3777+ .long_name = NULL_IF_CONFIG_SMALL("MXF SMPTE-436M ANC"),
3778+ },
37733779 {
37743780 .id = AV_CODEC_ID_MPEG2TS,
37753781 .type = AVMEDIA_TYPE_DATA,
libavcodec/codec_id.h+1−0
@@ -603,6 +603,7 @@ enum AVCodecID { · 602 unmodified lines
603603 AV_CODEC_ID_BIN_DATA,
604604 AV_CODEC_ID_SMPTE_2038,
605605 AV_CODEC_ID_LCEVC,
606+ AV_CODEC_ID_SMPTE_436M_ANC,
606607
607608
608609 AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
libavcodec/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929
3030 #include "version_major.h"
3131
32−#define LIBAVCODEC_VERSION_MINOR 9
32+#define LIBAVCODEC_VERSION_MINOR 10
3333 #define LIBAVCODEC_VERSION_MICRO 100
3434
3535 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t