[FFmpeg-devel] [PATCH v3 1/1] avformat/mpegtsenc: Write necessary descriptors into PMT for arib_caption muxing
zheng qian
xqq at xqq.im
Thu Apr 15 18:30:51 EEST 2021
On Fri, Apr 16, 2021 at 12:22 AM zheng qian <xqq at xqq.im> wrote:
> +
> + // data_component_descriptor, defined in ARIB STD-B10, part 2, 6.2.20
> + *q++ = 0xFD; // descriptor_tag: ARIB data coding type descriptor
> + *q++ = 3; // descriptor_length
> + put16(&q, data_component_id); // data_component_id
> + // additional_arib_caption_info: defined in ARIB STD-B24, fascicle 1, Part 3, 9.6.1
> + // Use most commonly used value 0x3D: DMF(0x3), Reserved(0x3), Timing(0x1)
> + *q++ = 0x3D;
I have tested lots of TV streams in Japan from terrestrial channels
near Tokyo, and plenty of BS/CS satellite channels. All of them have
a value of 0x3d for the additional_arib_caption_info field so I used it.
Regards,
zheng
> }
> break;
> case AVMEDIA_TYPE_VIDEO:
> --
> 2.29.2
>
More information about the ffmpeg-devel
mailing list