FLV Demux Seek in push mode

Vijay Vikram vikram.kvijay at gmail.com
Wed Jun 17 06:07:17 PDT 2015


Dear Tim,
Thanks for your suggestion. I have one more query on the same lines.

What will be the impact on performance if we operate demuxer in PULL mode
where the input is PUSH based?

Regards,
Vikram



On Thu, May 14, 2015 at 12:55 PM, Tim Müller <tim at centricular.com> wrote:

> On Thu, 2015-05-14 at 11:21 +0530, Vijay Vikram wrote:
>
> Hi,
>
> > I am currently using version 1.2.4 and checking the code of flvdemux.
> > I found that seeking to particular location in a file in push mode is
> > implemented to start always from beginning.
>
> This is a bug:
> https://bugzilla.gnome.org/show_bug.cgi?id=680087
>
>
> > But pull mode seeking to a particular location in a file works well.
> > Even 1.4.5 does not support seeking to any location in file in push
> > mode.
> >
> > I would like to understand why seeking is implemented like this in
> > Push mode?
> > I tried doing some changes but I am not able to get the tag start
> > position if I have moved to a random offset. Demuxer goes out of sync
> > and is not able to get back to tag start.
> >
> > Can you please help me with probable solutions for this?
>
> If you're using playbin, the easiest way to work around this is by
> simply setting the "ring-buffer-max-size" property to a couple of MB or
> so. That will make the demuxer operate in pull mode even if the input is
> push based.
>
> Not a fix of course, but perhaps a solution.
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150617/e853ffcf/attachment.html>


More information about the gstreamer-devel mailing list