[FFmpeg-devel] [FFmpeg-user] BUG in use of extradata and extradata_size with dvb subtitles and teletext

JULIAN GARDNER joolzg at btinternet.com
Wed Jan 8 11:41:26 CET 2014

> From: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
>To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org> 
>Sent: Wednesday, 1 January 2014, 0:14
>Subject: Re: [FFmpeg-devel] [FFmpeg-user] BUG in use of extradata and extradata_size with dvb subtitles and teletext
>On Wed, Jan 01, 2014 at 01:12:17AM +0100, Reimar Döffinger wrote:
>> On Mon, Dec 30, 2013 at 11:44:16AM +0200, Andriy Lysnevych wrote:
>> > Hi,
>> > 
>> > We are almost done with patch that fixes DVB subtitles and teletext issues.
>> > 
>> > We are doing 2 things in this patch:
>> > 
>> > 1) Removing dependency on extradata. All the values that currently stored
>> > in extradatata will be generated from metadata. For example in case of DVB
>> > subtitles metadata will hold the following values:
>> > 
>> > language
>> > subtitling_type
>> > composition_page_id
>> > ancillary_page_id
>> > 
>> > This values will be used for correct PMT generation. The values can be
>> > comma separated because one DVB subtitle stream can carry few subtitle
>> > substreams of different language, type, etc.
>> Sorry, but metadata is still unacceptable for this.
>> You could change extradata to be in some textual format, but even that
>> is questionable.
>> If you want to specify _options_ to the muxer you should use the
>> _option_ support, not pass options as metadata, which they clearly are
>> not.
>Yeah, and I seem to be reading emails in backwards order, so that might
>explain why it is a bit strange.
>Either way, the point is I am quite sure there's ways to do whatever you
>want to achieve that are less problematic than using metadata...
>ffmpeg-devel mailing list
>ffmpeg-devel at ffmpeg.org

So has anything been decided?

I would like the pes fixes added if possible but we still have the problem of the getting the correct ids from the source to the destination subtitles when in copy mode, as the use of the metadata has seemingly been ruled out, what other way apart from fixing the new_subtitle function is there.


More information about the ffmpeg-devel mailing list