[FFmpeg-devel] [PATCH 2/3] textdec: Rename all generic parts from srt to text.

Nicolas George nicolas.george at normalesup.org
Mon Aug 6 16:50:03 CEST 2012


Le septidi 17 thermidor, an CCXX, Clément Bœsch a écrit :
> Re-reading your mail, you seem to propose to add a new codec [id]
> CODEC_ID_TAGSOUP for mixed SubRip+ASS markup which will be used all the
> time with SRT file or muxed in MKV.
> 
> And in that case my point is that that soup of mixed system should be
> handled at a different level (so we can use this capability for SAMI and
> potentially more if we expect samples): we should add a CODEC_ID_SUBRIP to
> solve the timing issue (if I recall correctly that was the original
> issue), and add the escaping as explained at the end of the previous mail.

Ok. That is reasonable if anything can be a tag soup.

> Wouldn't we be able to just make the deprecated avcodec_decode_subtitle()
> call avcodec_encode_subtitle2() to encode the string into ASS markup? It's
> strange to propose an alternative function name for doing the encode/mux;
> at least I don't see the point.

The point is compatibility: currently, decoders do that work (they decode,
then they encode and mux to ASS), so probably applications expect so. If we
stop doing it, it will break these applications.

Regards,

-- 
  Nicolas George
-------------- 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/20120806/a86ed0f8/attachment.asc>


More information about the ffmpeg-devel mailing list