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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Krzysztof Konopko
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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Robert Swain-2
Hello,

On 26 October 2012 15:19, Krzysztof Konopko
<[hidden email]> wrote:
> 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?

It seems it is deprecated.

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

The suggestion is to keep your own copy of GstIndex or implement the
functionality for your purposes.

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

A media-agnostic time-shift element would be very welcome by the
community but it's not an easy task. Do you intend to conduct your
development efforts openly such that you might be open to community
input on the design of the solution?

Best regards,
Rob
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Josep Torra
In reply to this post by Krzysztof Konopko
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
<[hidden email]> 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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Krzysztof Konopko
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 <[hidden email]>
>> 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 <[hidden email]>
>> Reply-To: Discussion of the development of and with GStreamer <[hidden email]>
>>
>> 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
>> <[hidden email]> 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
>>> [hidden email]
>>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>

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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Krzysztof Konopko
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 <[hidden email]>
> >> 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
> <[hidden email]>
> >> Reply-To: Discussion of the development of and with GStreamer
> <[hidden email]>
> >>
> >> 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
> >> <[hidden email]> 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
> >>> [hidden email]
> >>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> [hidden email]
> >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gst_slot_meta_init.patch (624 bytes) Download Attachment