[FFmpeg-devel] [RFC] AST subtitles

Michael Niedermayer michaelni at gmx.at
Mon Nov 26 02:35:22 CET 2012


On Sun, Nov 25, 2012 at 11:28:16PM +0100, Nicolas George wrote:
> Le quintidi 5 frimaire, an CCXXI, Clément Bœsch a écrit :
> >    Now that AVPackets contains the pts and duration, I think it's wise to
> >    make the ASS and Matroska demuxers output these packets in a proper
> >    format. We will need to change a few things such as making the ASS
> >    muxer add the timing, and remove the hack from the Matroska muxer.
> > 
> >    I don't mind doing this, but since it will change the layout of the
> >    packets, it will break application expected ASS line and not ASS raw
> >    packets. Any opinion?
> 
> My plan about that was this: introduce a new CodecID for the unprocessed ASS
> packets (in the same format as they are in Matroska), use
> AVFormatContext.subtitle_codec_id to allow applications to select the new
> CodecID if they can handle it, and make it the default after some time.
> 

> Before that, there is another tidbit necessary: allow to set
> AVFMT_TS_NONSTRICT on a per-stream basis, and set it for ASS streams.

one can just skip the check in mux.c for ass streams or subtitle
streams

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121126/1b660773/attachment.asc>


More information about the ffmpeg-devel mailing list