Chris,<div><br></div><div>I've gotten a very similar pipe thing working. Ross was invaluable in helping. Here are two points you may need to recall, to finally get it working properly. </div><div><br></div><div>This advice relates to using H.264. It may only partially relate to your application.</div>
<div><br></div><div>1) You must make sure that you're sending both an SPS and a PPS NAL to Live555 *after* VLC tries to connect. My initial code wasn't doing this. My stream origination used an H.264 encoder that sends these two NAL records out first, and it was always running. So when VLC came along, those two NAL records had long since passed. I had to use tricks to send them again *in response* to the VLC connecting. Aside from Ross knowing it off the top, before hearing his advice I located this issue by tracing through the Live555 code and discovering it's refusal to continue without having seen those two NAL records.</div>
<div><br></div><div>2) With the above, I got video, but it was very choppy. Again, Ross was correct in suggesting it had to do with providing a steady stream of input. But how to do so was less obvious. The culprit was partially a lack of horsepower on one machine to do the full job with the debug-compiled code. The other culprit was needing to provide a large enough amount of memory to the pipe on creation.</div>
<div><br></div><div>Good luck!<br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 9:14 PM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div>As far as Windows developers who use gmail...I can understand the anti-windows sentiment, but I don't know what you have against gmail...</div>
</blockquote><div><br></div></div>This is explained clearly in the FAQ (that everyone was asked to read before posting to the mailing list :-)</div><div><br></div><div><div class="im"><br><blockquote type="cite"><div>And I code in Windows because I'm paid too...and I know *exactly* how to do asynchronous, non-blocking file IO in windows. Be careful with the word "impossible." ;-)</div>
</blockquote><div><br></div></div>The issue with doing asynchronous file reading in Windows is that - in Windows - extra work needs to be done to handle the 'data is available on the open file' event. In other OSs, open files are sockets that can be passed to "select()", as we do in the the implementation of "BasicTaskScheduler" (the "TaskScheduler" subclass that we provide with the supplied code). In (at least some versions of) Windows, however, open files are not "select()"able sockets. Therefore, to do asynchronous file reads in Windows, you would need to write your own subclass of "TaskScheduler" (that reimplements the "setBackgroundHandling()" virtual function).</div>
<div class="im"><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">Ross Finlayson<br>
Live Networks, Inc.<br><a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span></span>
</div>
<br></div></div><br>_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br></div>