<div dir="ltr">Hi,<br><div><br>I have a videomixer mixing a live stream and a pre-recorded stream:<br><br> filesrc location=foo.flv<br>! decodebin<br>! videoconvert<br>! videomixer name=mixer<br>! videoconvert<br>! xvimagesink<br>
<br> v4l2src<br>! video/x-raw,width=640<br>! videoconvert<br>! mixer.<br><br></div><div>I load the pipeline using gst_parse_launch(), set it to PLAYING and seek by passing the pipeline bin to gst_element_seek_simple(). The code works fine with simple pipelines playing a file, but the pipeline above refuses to seek. It sort of seeks, but with glitches and gst_element_seek_simple() returns FALSE.<br>
<br></div><div>My question is: what is the correct way of seeking in foo.flv in the pipeline above? I think of unlinking the live pad from the mixer before seeking. Will that work? What is the recommended solution?<br><br>
</div><div>I'd like seeking to be as gapless as possible, but gaplessness is not a must.<br><br></div><div>Andy<br></div></div>