<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I want to play a series of videos at very specific times, and the
    transition between videos should be seamless (a gap is tolerable if
    one video ends way before the next one is scheduled to begin).<br>
    Example: Video 1 shall be played at t1 = 12:00 (system clock time).
    Video 2 shall be played at t2 = 12:05 (again, system clock time).<br>
    If Video 1 ends before t2 is reached, then nothing is played until
    then. If Video 1 is still not finished when t2 is reached, it shall
    switch to video 2.<br>
    <br>
    My guess: first, set the pipeline clock to the system clock (
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <span style="color: rgb(0, 0, 0); font-family: cantarell,
      sans-serif; font-size: medium; font-style: normal; font-variant:
      normal; font-weight: normal; letter-spacing: normal; line-height:
      normal; orphans: auto; text-align: start; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
      !important; float: none; background-color: rgb(255, 255, 255);">GST_CLOCK_TYPE_REALTIME).
      Then, these start times should be offset by the base time. Lastly,
      based on this result, the video GstSegments must be offset by the
      necessary amount to ensure they play at the times t1 and t2. A pad
      probe could probably intercept the segment events, and modify the
      segments.<br>
      <br>
      However, this sounds a lot like what GNonLin and GES try to do.
      Note that I want to output to a video sink, and that t1 might be
      in the future, that is, a gap in the beginning of the playback is
      possible.<br>
      I tried it with GNonLin, but it states that I have to care about
      gaps myself. Also, my attempts at doing this with GNonLin failed
      (pad link failures), and GES (at least ges-launch) outputs to a
      file, which is not what I want. GES has a preview sink, but it is
      probably not supposed to be used for what I want to achieve.<br>
      <br>
      Any ideas?<br>
    </span>
  </body>
</html>