GNOME Bugzilla – Bug 703673
webvttenc: Cues should be seperated by two line breaks
Last modified: 2013-07-05 23:50:41 UTC
Created attachment 248471 [details] [review] Append two line breaks after each cue instead of just one From the spec[1]: > A WebVTT file body consists of the following components, in the following order: > > * [...] > * Zero or more WebVTT cues and WebVTT comments separated from each other by two or more WebVTT line terminators. [1]: http://dev.w3.org/html5/webvtt/#syntax You can see that we currently generate invalid WebVTT files by running this: gst-launch-1.0 souphttpsrc location=http://durian.blender.org/wp-content/content/subtitles/sintel_en.srt ! subparse ! webvttenc ! filesink location=test.vtt
Thanks for the patch! commit f53e66f4c6d7735123a4eb03fe4824ce1ffee01c Author: Brendan Long <b.long@cablelabs.com> Date: Fri Jul 5 11:20:49 2013 -0600 webvttenc: Separate cues with two line breaks instead of one. See http://dev.w3.org/html5/webvtt/#syntax https://bugzilla.gnome.org/show_bug.cgi?id=703673