Hello,
I have pipeline: appsrc ! videoconvert ! jpegenc ! matroskamux ! filesink It is working only if appsrc stream type is GST_APP_STREAM_TYPE_STREAM i am doing this so: gst_app_src_set_stream_type((GstAppSrc*)appsrc, GST_APP_STREAM_TYPE_STREAM); GST_APP_STREAM_TYPE_SEEKABLE 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? Mikl |
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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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
Mikl From: gstreamer-devel <[hidden email]> on behalf of Tim Müller <[hidden email]>
Sent: Friday, October 14, 2016 3:48:12 PM To: [hidden email] 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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fri, 2016-10-14 at 13:55 +0000, Michael Yarochkin wrote:
Hi, > I was hopping to gain the speed during playback later. This is only about how appsrc is scheduled, it won't make any difference to how the file is created or the seeking speed in the file later. You don't seek here in appsrc. You just produce buffers and these buffers will be encoded and written to file. Cheers -Tim -- Tim Müller, Centricular Ltd - http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |