gstreamer : record a stream while playing

Tim Müller tim at centricular.com
Tue Feb 5 16:49:19 UTC 2019


On Tue, 2019-02-05 at 17:23 +0100, Duchassin Frederic wrote:

Hi Frederic,

> Even with a queue in each branch it doesn't work :
> gst-launch-1.0 filesrc location=/home/sefram/TS/4kfile.ts ! queue !
> typefind ! tee name=t t. ! queue ! decodebin ! queue ! kmssink t. !
> queue ! filesink location=/home/sefram/TS/essai.ts

Chances are that you are hitting one of the queue limits too early,
since you have a very high bitrate stream and the queue limits are
fairly small by default (~ 200 buffers, 10MB IIRC). That would prevent
the pipeline from prerolling.

Try unsetting the limit on the queue that feeds into filesink with
queue max-size-bytes=0 max-size-time=0 max-size-buffers=0

Cheers
 Tim

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



More information about the gstreamer-devel mailing list