using the new GST_SEEK_FLAG_INSTANT_RATE_CHANGE of 1.17-1.18

Mikel Pérez io at mikelpr.com
Sat Sep 5 01:21:34 UTC 2020


I've found the demuxers supporting it are mka, mpeg-ts and qt/mp4.
is there a pipeline to transform media being read into another muxer?

On Sun, Aug 23, 2020 at 4:22 PM Mathieu Duponchelle
<mathieu at centricular.com> wrote:
>
> The source / demuxer you're seeking needs to support instant rate changes,
> maybe check that :)
>
> On 8/22/20 6:54 PM, Mikel Pérez wrote:
> > I'm very interested in instant rate change but I can't get it working
> > this is my code:
> >
> > gst_element_seek(
> >   GST_ELEMENT(player->pipeline)
> > , (double) player->speed
> > , GST_FORMAT_UNDEFINED // also tried with GST_FORMAT_TIME here
> > , GST_SEEK_FLAG_INSTANT_RATE_CHANGE
> > , GST_SEEK_TYPE_NONE
> > , GST_CLOCK_TIME_NONE
> > , GST_SEEK_TYPE_NONE
> > , GST_CLOCK_TIME_NONE
> > );
> >
> > rate won't change. the previous way, doing a normal seek (with
> > GST_FORMAT_TIME, GST_SEEK_TYPE_SET and GST_SEEK_FLAG_FLUSH |
> > GST_SEEK_FLAG_ACCURATE) does work but I need instant as I'm
> > implementing a pitch control
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list