appsrc not working with GST_APP_STREAM_TYPE_RANDOM_ACCESS

Michael Yarochkin michael.yarochkin at timetronics.be
Fri Oct 14 13:55:27 UTC 2016


I was hopping to gain the speed during playback later.


(this topic is related to my another one http://gstreamer-devel.966125.n4.nabble.com/Speed-up-seek-td4680047.html)


As you can read here

https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html#GstAppStreamType


GST_APP_STREAM_TYPE_STREAM


No seeking is supported in the stream, such as a live stream.


GST_APP_STREAM_TYPE_SEEKABLE


The stream is seekable but seeking might not be very fast, such as data from a webserver.


GST_APP_STREAM_TYPE_RANDOM_ACCESS


The stream is seekable and seeking is fast, such as in a local file.



Mikl

________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of Tim Müller <tim at centricular.com>
Sent: Friday, October 14, 2016 3:48:12 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: appsrc not working with GST_APP_STREAM_TYPE_RANDOM_ACCESS

On Fri, 2016-10-14 at 05:34 -0700, Mikl wrote:

Hi,

> I have pipeline:
> appsrc ! videoconvert ! jpegenc ! matroskamux ! filesink
>
> It is working only if appsrc stream type is
> /GST_APP_STREAM_TYPE_STREAM/
> and GST_APP_STREAM_TYPE_RANDOM_ACCESS
> is not working: pipeline is not starting.
> status = gst_element_set_state(_pipeline, GST_STATE_PLAYING);
> Is anyboby know, it is normal so?

Yes, none of these elements work in pull mode, and RANDOM_ACCESS
doesn't really make sense here. What are you trying to achieve?

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161014/521058e7/attachment.html>


More information about the gstreamer-devel mailing list