download-buffer speed

Tim Müller tim at centricular.com
Mon Jan 16 17:24:26 UTC 2017


On Mon, 2017-01-16 at 16:31 +0000, john.ocallaghan at accenture.com wrote:

Hi John,
 
> Am wondering if someone out there can help me to construct a pipe to
> process video frames faster than 1x speed?
>  
> I am creating a GST pipeline with the following elements and caps:
>  
> uridecodebin (download=TRUE) -> queue -> appsink (drop=FALSE,
> buffers=1).
>  
> I then have a test framework that uses this pipe and runs in a tight
> loop calling gst_app_sink_pull_sample().
>  
> With the above I have measured that the downloadbuffer constructed in
> uridecodebin appears to be downloading content at 1x speed.
> I think this is the case because if I wait for 10 seconds and then
> pull 10 seconds of frames then I can see my test pull all the frames
> in 1sec.
> But if I wait less than 10seconds and try the same then I can see it
> delay (waiting for frames to download).
>  
> Basically what I am seeing is that for however many seconds of
>  frames I want to pull I need to wait that corresponding amount of
> time or I will see a delay on the pipe.
>  
> Is there someway to tell the downloadbuffer to pull data quicker than
> 1x?

What kind of URI is it? In other words - where does the data come from?

Cheers
 -Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170116/0301edfa/attachment.html>


More information about the gstreamer-devel mailing list