<div>Hi, I successfully play a raw video-data-only file (mpeg 2 file without container format) using appsrc with help of Tim.</div><div>( <a href="http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037737.html">http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037737.html</a> )</div>
<div> </div><div>Now, I try to play this over the network. </div><div> </div><div>A tcp server can read this raw video file and send chunked data (with loop) when a client connects to server.</div><div>It's just a different version of local file play. In this case, reading a local file is replaced with receiving data</div>
<div>from the remote server.</div><div> </div><div>On client side, there's a main thread which creates receive/send thread and a receive thread call/create</div><div>gstreamer loop. </div><div> </div><div>My problem is when the gstreamer loop starts, only gstreamer loop goes on but tcp receive thread loop seems to stop working.</div>
<div>So, I changed to create thread which calls gstreamer loop, but I still got "need-data" signal only and no tcp receive thread message.</div><div> </div><div>Q1. How can I get both tcp receive thread data and gstreamer signal?</div>
<div>Q2. Currently I put received data from tcp into buffered queue, and take those data from queue and inject them to appsrc </div><div> when "need-data" signal occurred. It seems that there's much load to put stream data into buffered queue.</div>
<div> Is there any better way to do this, i.e., feed stream data into appsrc?</div><div> ( <a href="http://www.digipedia.pl/usenet/thread/16990/59/">http://www.digipedia.pl/usenet/thread/16990/59/</a> )</div><div>
</div><div>Any guide or suggestions would be appreciated.</div><div> </div><div>There're more basic questions.</div><div>Q3. What is depayloader in rtp pipeline? Do I need depayloader plugin in my case?</div><div>Q4. Is it multi-thread safe to call gst_init in each thread or should it be just called once?</div>
<div> </div><div>Regards,</div><div>ByoungSoon</div>