[FFmpeg-devel] [PATCH v3 1/1] avformat/mpegtsenc: Write necessary descriptors into PMT for arib_caption muxing

zheng qian xqq at xqq.im
Tue Apr 27 14:39:31 EEST 2021


On Wed, Apr 21, 2021 at 7:04 AM Jan Ekström <jeebjp at gmail.com> wrote:
>
> I think in general I am preferring the "follow the TR" way since I
> just heard another implementer generally speaking also ignores
> everything else than 0x30/0x87.
>
> Did not yet add the per-program limitation but poked a bit at it with
> https://github.com/jeeb/ffmpeg/commits/mpegts_arib_caption_muxing .
>
> 1. Split the writing of the ARIB caption descriptor as the PMT writing
> function is already way too long. Was not sure if exit or plain break
> would be sufficient, but nothing else around in that function seems to
> return with an error... so break it is.
> 2. Added logging in case an unset/unknown profile was utilized.
> 3. Re-added extraction of additional_arib_caption_info into extradata,
> and writing it out in the muxer if available.
>
> Feel free to note how you like these changes :)
>
> Jan

Any update on this thread?

Please let me know if there is any new information.

Thanks,
zheng


More information about the ffmpeg-devel mailing list