<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Hi All,</DIV>
<DIV>I'm trying to understand a problem I encounter with request pads plugin. I've derived my own plugin (videooverlay) from videomixer code. As input, I have 1..N sinks on which the buffers contain video frame + other data. It takes the video as background and does some overlay using the extra data.</DIV>
<DIV>My pipeline runs as:</DIV>
<DIV>gst-launch-0.10 filesrc location=mymovie.avi ! decodebin ! ffmpegcolorspace ! tee name=tee1 ! queue ! video_process ! videooverlay name=overlay ! queue ! ffmpegcolorspace ! directdrawsink tee1. ! queue ! video_process ! overlay.</DIV>
<DIV>&nbsp;</DIV>
<DIV>(here video_process is my plugin that analyses the video and send a buffer containing videoframe + data)</DIV>
<DIV>&nbsp;</DIV>
<DIV>My problem is that when one of the tee branches is heavily loaded (i.e. it takes time to analyse a frame), then the whole pipeline hangs. As if no more buffers were sent to the overlay plugin. It uses collected pads. I have tried to change my plugin, setting _chain function to each sink pad. Here I receive the first 2 buffers, then it hangs for 30sec before I get the new ones, and it finally crashes (even if my process plugin does nothing).</DIV>
<DIV>&nbsp;</DIV>
<DIV>How can I make sure that buffers are sent continuously ? There is very little documentation on how request pads should be used...</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>Albert</DIV></div><br>
      

      <hr size="1"> 
Ne gardez plus qu'une seule adresse mail ! <a href="http://fr.rd.yahoo.com/mail/mail_taglines/trueswitch/*http://www.trueswitch.com/yahoo-fr/">Copiez vos mails</a> vers Yahoo! Mail </body></html>