Using more threads to increase bandwidth

Tim Müller tim at centricular.com
Tue Nov 19 01:01:53 PST 2013


On Mon, 2013-11-18 at 21:47 +0000, Chris Tapp wrote:

Hi Chris,

> 1) playbin2 with video going to a fakesink;
> 2) appsrc ! ffmpefcolorspace ! videoscale ! fakesink.
> 
> The first pipleline plays the video in real time so that audio playback works.
> 
> The second is then used to convert the latest frame in the fakesink to the video format/size requested by GLES.

You should probably also combine those two separate pipelines into one.
Just set an appsink caps=video/x-raw-whatever,...  on playbin, and use
appsink instead of fakesink, or make a little GstBin with capsfilter
caps=... ! fakesink and a sink ghost pad, if you prefer to use fakesink.
Then the converters in playbin will do the right thing and you'll save
the overhead/delay of feeding things into the second pipeline.

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com






More information about the gstreamer-devel mailing list