Skip to content

Commit 9fb806f

Browse files
ulmus-scottMarth64x
authored andcommitted
avcodec: add AV_CODEC_ID_IVTV_VBI
IVTV, a Linux driver for TV tuners, and V4L2 utilize a coding named after IVTV to carry sliced VBI data in MPEG streams produced by tuner cards with VBI capture capability and an MPEG-2 encoder SoC. IVTV or V4L2 driver will transport the coded data into a MPEG-PS private stream ("IVTV") that can be captured from the card alongside the video/audio. The data could include: EIA-608, Teletext, WSS (PAL widescreen signaling), or VPS (PAL VCR signaling). Signed-off-by: Marth64 <[email protected]>
1 parent 0ae5b1b commit 9fb806f

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

doc/APIchanges

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07
22

33
API changes, most recent first:
44

5+
2025-02-09 - xxxxxxxxxx - lavc 61.32.100 - codec_id.h
6+
Add AV_CODEC_ID_IVTV_VBI.
7+
58
2025-01-25 - xxxxxxxxxx - lavu 59.56.100 - frame.h
69
Add AV_SIDE_DATA_PROP_CHANNEL_DEPENDENT.
710

libavcodec/codec_desc.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,6 +3649,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
36493649
.long_name = NULL_IF_CONFIG_SMALL("ARIB STD-B24 caption"),
36503650
.profiles = NULL_IF_CONFIG_SMALL(ff_arib_caption_profiles),
36513651
},
3652+
{
3653+
.id = AV_CODEC_ID_IVTV_VBI,
3654+
.type = AVMEDIA_TYPE_SUBTITLE,
3655+
.name = "ivtv_vbi",
3656+
.long_name = NULL_IF_CONFIG_SMALL("ivtv VBI captions"),
3657+
},
36523658

36533659
/* other kind of codecs and pseudo-codecs */
36543660
{

libavcodec/codec_id.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ enum AVCodecID {
581581
AV_CODEC_ID_HDMV_TEXT_SUBTITLE,
582582
AV_CODEC_ID_TTML,
583583
AV_CODEC_ID_ARIB_CAPTION,
584+
AV_CODEC_ID_IVTV_VBI,
584585

585586
/* other specific kind of codecs (generally used for attachments) */
586587
AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs.

libavcodec/version.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ unsigned avcodec_version(void)
3636
AV_CODEC_ID_ADPCM_XMD == 69683 &&
3737
AV_CODEC_ID_CBD2_DPCM == 81928 &&
3838
AV_CODEC_ID_QOA == 86121 &&
39-
AV_CODEC_ID_ARIB_CAPTION == 94233 &&
39+
AV_CODEC_ID_IVTV_VBI == 94234 &&
4040
AV_CODEC_ID_SMPTE_2038 == 98315,
4141
"Don't insert new codec ids in the middle of a list");
4242
static_assert(LIBAVCODEC_VERSION_MICRO >= 100, "micro version starts at 100");

0 commit comments

Comments
 (0)