[FFmpeg-devel] [PATCH] Matroska demuxer adds WebVTT support

Nicolas George nicolas.george at normalesup.org
Thu Jul 18 13:02:42 CEST 2013


L'octidi 28 messidor, an CCXXI, Matthew Heaney a écrit :
> All we needed was a way to losslessly embed WebVTT cues in a Matroska
> frame.  For a demuxer, the parsing duties aren't very complicated -- you
> just need to demarcate the id and settings lines from the cue text.

Complicated or not really the issue: if there are n demuxers and p codecs,
we do not want n×p special cases.

Therefore, the correct solution here would be to change the WebVTT demuxer
to output packets in the same format as Matroska rather than changing the
Matroska demuxer. The reason is that Matroska is generic while WebVTT is
specialized.

Exactly the same change that happened to ASS recently.

By the way, do you know any other container format that supports WebVTT?

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/20130718/eb6a98df/attachment.asc>


More information about the ffmpeg-devel mailing list