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

Nicolas George nicolas.george at normalesup.org
Thu Aug 2 11:35:05 CEST 2012

Le sextidi 16 thermidor, an CCXX, Clément Bœsch a écrit :
> According to #matroska at freenode a while ago:
> 22:35 < ubitux> are "S_TEXT/UTF8" entries always text subtitles in SubRip markup?
> 22:59 < Mosu> yes
> and actually the specifications:
> http://www.matroska.org/technical/specs/subtitles/srt.html (there is no
> markup information but it clearly stats the input clearly is a SubRip
> file).
> It really looks like to me Matroska is assuming SubRip markup for S_TEXT.
> Also, if the matroska developers decide to explictely standardize this
> (this might not be trivial since there is no real SubRip markup spec),
> they will likely say that S_TEXT is for SubRip markup to not break compat
> with all the samples in the wild, and eventually add a "raw no tag soup"
> one.

Ok, that is obviously convincing. So I propose to define CODEC_ID_TAGSOUP
for the output of the SRT demuxer and S_TEXT in Matroska, with the following

- markup present in pseudo-HTML and ASS-tags;
- newlines marked by CR?LF;
- heading and trailing newlines (spaces) must be ignored.

Is it ok with you?


  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/20120802/d4fe9442/attachment.asc>

More information about the ffmpeg-devel mailing list