[FFmpeg-devel] [PATCH] Add A53 Closed Captions to MPEG header if they are available.

Hendrik Leppkes h.leppkes at gmail.com
Wed Jun 7 00:59:19 EEST 2017


On Tue, Jun 6, 2017 at 11:45 PM, Marton Balint <cus at passwd.hu> wrote:
>
> On Tue, 6 Jun 2017, John Poet wrote:
>
>> ff_mpeg1_encode_picture_header: Add support for AV_FRAME_DATA_A53_CC
>> frame: Add av_frame_get_side_data_at() to allow retrival of multiple side
>>    data of the same type.
>
>
> As far as I remember multiple side data of the same type is not something we
> wanted to support. Why do you need it? Can't a single AV_FRAME_DATA_A53_CC
> side data packet contain many CC entries?
>

Indeed, multiple entries of the same type are really a bad idea and we
basically made them impossible with stream sidedata, although maybe
not with frame side data yet. We should not add API for them or
encourage their use.
If there is a real need for multiple of the same type, maybe the type
should be expanded to hold more information.

- Hendrik


More information about the ffmpeg-devel mailing list