[Bug 733494] New: [PATCH] flvdemux: build index when upstream is in pull mode

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 21 04:32:16 PDT 2014


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

           Summary: [PATCH] flvdemux: build index when upstream is in pull
                    mode
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jan.steffens at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

patch

In order to seek FLV streams, flvdemux creates a seek index;
however, this index is not created if upstream is not seekable.
gst_flv_demux_check_seekability was copied nearly verbatim from
GstBaseParse.

This commit allows flvdemux to build the index when upstream
is in pull mode, not just when upstream is seekable. This allows
timeshifting of live RTMP streams when using queue2 in download
or ringbuffer mode:

rtmpsrc ! queue2 ! flvdemux

Alternatively, queue2 could be altered to advertise seekability
downstream. I am unsure what is the best approach.

-- 
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