# concat

Concatenates streams together to one continuous stream.

All streams but the current one are blocked until the current one finished with GST_EVENT_EOS. Then the next stream is enabled, while keeping the running time continuous for GST_FORMAT_TIME segments or keeping the segment continuous for GST_FORMAT_BYTES segments.

Streams are switched in the order in which the sinkpads were requested.

By default, the stream segment's base values are adjusted to ensure the segment transitions between streams are continuous. In some cases, it may be desirable to turn off these adjustments (for example, because another downstream element like a streamsynchronizer adjusts the base values on its own). The adjust-base property can be used for this purpose.

## Example launch line

     gst-launch-1.0 concat name=c ! xvimagesink  videotestsrc num-buffers=100 ! c.   videotestsrc num-buffers=100 pattern=ball ! c.

Plays two video streams one after another.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──concat

## Factory details

Authors: – Sebastian Dröge

Classification: – `Generic`

Rank – none

Plugin – coreelements

Package – GStreamer

## Pad Templates

### `sink_%u`

    ANY

Presence – request

Direction – sink

Object type – GstPad

### `src`

    ANY

Presence – always

Direction – src

Object type – GstPad

## Properties

### active-pad

    “active-pad” GstPad *

Currently active sink pad

Flags : Read

### adjust-base

    “adjust-base” gboolean

Adjust the base value of segments to ensure they are adjacent

Flags : Read / Write

Default value : true

The results of the search are