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

avcodec: add SMPTE 2038 VANC data codec used in MPEG-TS streams

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Devin Heitmueller
2023-03-26 00:33:18 +01:00
committed by Marton Balint
parent 261fb55e39
commit 0d3a2f9370
3 changed files with 9 additions and 2 deletions

View File

@@ -3627,6 +3627,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
.long_name = NULL_IF_CONFIG_SMALL("binary data"), .long_name = NULL_IF_CONFIG_SMALL("binary data"),
.mime_types= MT("application/octet-stream"), .mime_types= MT("application/octet-stream"),
}, },
{
.id = AV_CODEC_ID_SMPTE_2038,
.type = AVMEDIA_TYPE_DATA,
.name = "smpte_2038",
.long_name = NULL_IF_CONFIG_SMALL("SMPTE ST 2038 VANC in MPEG-2 TS"),
},
{ {
.id = AV_CODEC_ID_MPEG2TS, .id = AV_CODEC_ID_MPEG2TS,
.type = AVMEDIA_TYPE_DATA, .type = AVMEDIA_TYPE_DATA,

View File

@@ -582,6 +582,7 @@ enum AVCodecID {
AV_CODEC_ID_DVD_NAV, AV_CODEC_ID_DVD_NAV,
AV_CODEC_ID_TIMED_ID3, AV_CODEC_ID_TIMED_ID3,
AV_CODEC_ID_BIN_DATA, AV_CODEC_ID_BIN_DATA,
AV_CODEC_ID_SMPTE_2038,
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,8 +29,8 @@
#include "version_major.h" #include "version_major.h"
#define LIBAVCODEC_VERSION_MINOR 6 #define LIBAVCODEC_VERSION_MINOR 7
#define LIBAVCODEC_VERSION_MICRO 101 #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, \
LIBAVCODEC_VERSION_MINOR, \ LIBAVCODEC_VERSION_MINOR, \