Hi, <br>I'm trying to implement a video capturer using the following pipeline:<br><br>source->decodebin->tee-->displaybin<br> '->encodebin<br><br>The pipeline is started without linking the encodebin to the tee. When I click the rec button, the tee is linked to the encodebin which encodes the video stream into a file.<br>
The problem is that the output file displays at the begining x seconds of the first frame.<br><br>For example:<br>Time: 0:00:00 -> pipeline changes to PLAYING state.<br>Time: 0:00:10 -> rec button clicked, encodebin added to the pipeline and linked to the tee.<br>
Time: 0:00:30 -> stop button clicked, sending eos event to the pipeline.<br><br>The output file displays the first frame for 10 seconds, and then 20 seconds of the captured stream. <br><br>Do I have to fire a new segment event before linking the encodebin to the tee?<br>
<br>Regards,<br>Andoni Morales <br>