Fwd: implementing timeshifter - is GstIndex going to be ever public again?

Krzysztof Konopko krzysztof.konopko at youview.com
Mon Nov 5 12:26:22 PST 2012


Hi Josep,

Eventually I had some time to play a bit with Fluendo timeshifter and
GStreamer-1.0.
Unfortunately it crashed with a simple pipeline:

gst-launch-1.0 -mv --gst-debug-no-color --gst-debug=tsparse:5,flu*:5
filesrc location=example.ts ! tsparse ! flumpegshifter ! fakesink

I attached a patch for this.

Kris

On 29/10/12 16:10, Krzysztof Konopko wrote:
> Thanks Josep. Top work. I was able to build it with gstreamer-1.0
> without any problem.
> We'll definitely give it a go and play with it a bit.
> >> From: Josep Torra <n770galaxy at gmail.com>
> >> Subject: Re: implementing timeshifter - is GstIndex going to be
> ever public again?
> >> Date: 28 October 2012 10:54:52 GMT
> >> To: Discussion of the development of and with GStreamer
> <gstreamer-devel at lists.freedesktop.org>
> >> Reply-To: Discussion of the development of and with GStreamer
> <gstreamer-devel at lists.freedesktop.org>
> >>
> >> Hello,
> >>
> >> I've ported yesterday the Fluendo's timeshift element to 1.0. It
> >> builds but it's just barely tested. The code is commited in our svn
> >> trunk.
> >>
> >> $ svn co
> https://core.fluendo.com/gstreamer/svn/trunk/gst-fluendo-timeshift
> >>
> >> For the time being I've opted by a local copy of a ripped GstIndex but
> >> I would like to replace it for something else at some point.
> >>
> >> Persitence of the index was in my mind from the begining, I was
> >> thinking on some sort of memindex <--> fileindex conversion schema.
> >>
> >> Also what's missing is being able to remove index entries in the
> >> memindex when the ringbuffer is just using memory and past data stream
> >> is discarded. It could be implemented in the local copy of GstIndex
> >> now.
> >>
> >> In order to support more forms of timeshifting I've designed it as a
> >> base class and derived the mpegts as initial example use case.
> >>
> >> Another use case which would be more codec agnostic would be the
> >> "cbrshifter" which would just seek in TIME by interpolating with an
> >> estimated input data rate (assumes that stream is constant bit rate)
> >> and also resolve downstream seeks in BYTES. I'll try to implement that
> >> one at some point.
> >>
> >> Best regards,
> >>
> >> Josep
> >>
> >> On 26 October 2012 15:19, Krzysztof Konopko
> >> <krzysztof.konopko at youview.com> wrote:
> >>> Hi,
> >>>
> >>> Are there any plans to make GstIndex API public again? It was made
> >>> "private" about a year ago.
> >>> Or is it considered deprecated in the long term without any views to
> >>> become public again?
> >>>
> >>> I've seen all instances of that API across gst-plugins-* commented
> out.
> >>>
> >>> The reason I'm asking is that I'm looking into Fluendo Timeshifter
> which
> >>> has it's core functionality underpinned by GstIndex API. Is there
> >>> anything else you'd suggest to use instead GstIndex which this plugin
> >>> could be ported to?
> >>>
> >>> I'm also considering to write my own timeshifter plugin which
> would take
> >>> advantage of mpegtsparser and queue2. In this situation I would
> have to
> >>> implement an "indexer" and a "seeker". In this case the pugin would be
> >>> MPEG-TS agnostic. Is there anything you would suggest to look at
> in this
> >>> case?
> >>>
> >>> Thanks,
> >>> Kris
> >>> This transmission contains information that may be confidential
> and contain personal views which are not necessarily those of YouView
> TV Ltd. YouView TV Ltd (Co No:7308805) is a limited liability company
> registered in England and Wales with its registered address at YouView
> TV Ltd, 3rd Floor, 10 Lower Thames Street, London, EC3R 6YT. For
> details see our web site at http://www.youview.com
> >>>
> >>>
> >>> _______________________________________________
> >>> gstreamer-devel mailing list
> >>> gstreamer-devel at lists.freedesktop.org
> >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.freedesktop.org
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst_slot_meta_init.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121105/fc7d05c9/attachment.bin>


More information about the gstreamer-devel mailing list