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

Nicolas George nicolas.george at normalesup.org
Tue Jul 16 11:35:15 CEST 2013


L'octidi 28 messidor, an CCXXI, wm4 a écrit :
> Can I ask why there is subtitle parsing in the Matroska demuxer?

That is usually a sign that the people that work on WebM did chose a
different packet format that the format used in ffmpeg. It can happen
because WebVTT packets were only extracted from text files until now, and
the person implementing it (Clément) had to decide what part of the text
file goes to the packet data and what part is parsed to fill-in the packet
structure.

IMHO, since a specification for WebVTT packets inside a generic container
exists now, we should change the packet format used by lavf instead of
adding glue in the generic demuxer.

(Also, the commit message needs to be fixed: "matroskaenc: add support for
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/20130716/7f42d8bc/attachment.asc>


More information about the ffmpeg-devel mailing list