filesink ignores first 5 seconds

Sebastian Dröge slomo at
Mon Oct 19 02:40:42 PDT 2015

On Mo, 2015-10-19 at 01:57 -0700, cxphong wrote:
> Hi,
> I'm recording video and save it into a .mp4 file, but the video
> result is not stable at first 2~5 seconds. How to request filesink to
> ignores the first 3 seconds?

You will have to write some code for that. You could either drop the
first few seconds with a pad probe by dropping buffers (after the
decoder!), or by adjusting the segment so that the first few seconds
are outside the segment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list