<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi,<br></div><div><br></div><div>Just a follow up on this. I'd appreciate it if anyone could give us some advice on what's missing in that implementation.<br></div><div><br></div><div>At this point we've spent many hours trying to debug this issue without meaningful progress.</div><div><br></div><div id="Zm-_Id_-Sgn" data-zbluepencil-ignore="true" data-sigid="8819909000000014001"><div>Rodrigo Santos<br></div></div><div><br></div><div class="zmail_extra_hr" style="border-top: 1px solid rgb(204, 204, 204); height: 0px; margin-top: 10px; margin-bottom: 10px; line-height: 0px;"><br></div><div class="zmail_extra" data-zbluepencil-ignore="true"><div><br></div><div id="Zm-_Id_-Sgn1">---- On Fri, 27 Jan 2023 15:40:39 -0300 <b>Rodrigo Santos <rsantos@sequence.film></b> wrote ---<br></div><div><br></div><blockquote id="blockquote_zmail" style="margin: 0px;"><div><div style="font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 10pt;"><div>Hey folks,<br></div><div><br></div><div>I've been trying to implement a Bin Src element but I'm struggling to make it work properly. I created a simplified version of the bin that only contains a filesrc, the code is here <a target="_blank" href="https://github.com/rsantos-sequence/CustomSourceBin">https://github.com/rsantos-sequence/CustomSourceBin</a>.<br></div><div><br></div><div>A requirement that we have is that it should operate in Pull mode, so both the bin's ghostpad and filesrc's src pad are activated in Pull mode.<br></div><div><br></div><div>The final bin that we are trying to build is more complex and has another custom element that we implemented. But to make things simpler I only added the filesrc in this sample, as the issue also happens in this case.<br></div><div><br></div><div>This bin implements the GstUriHandler interface. Our goal is to autoplug this source bin in other pipelines. There are two samples in the bin/ folder, one for regular pipelines and other for a GES pipeline.<br></div><div><br></div><div>What's happening is that it works for the vast majority of cases when I run the bin/sample program (occasionally it hangs). However, when I ran the bin/ges-sample, the program always hangs. The only meaningful message that I can see is that calling filesrc.range() function is returning Flushing just before the halting. I've been trying to understand this error for the last two weeks with no luck.<br></div><div><br></div><div>Can someone take a look at this implementation and give me some hints about what I might be missing?<br></div><div><br></div><div class="x_2025900925zmail_signature_below"><div id=""><div>Rodrigo Santos<br></div></div></div><div><br></div></div><div><br></div></div></blockquote></div><div><br></div></div><br></body></html>