[Bug 703673] New: webvttenc: Cues should be seperated by two line breaks

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 5 10:24:02 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=703673
  GStreamer | gst-plugins-bad | git

           Summary: webvttenc: Cues should be seperated by two line breaks
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: self at brendanlong.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=248471)
 View: https://bugzilla.gnome.org/attachment.cgi?id=248471
 Review: https://bugzilla.gnome.org/review?bug=703673&attachment=248471

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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list