<div>Well, I have been experimenting with piping and I can get file descriptors for pipes using the pipe() call, but it seems that I need a FILE sctruct rather than a file descriptor. Any ideas how to convert one to the other?
</div>
<div> </div>
<div>Russell<br><br> </div>
<div><span class="gmail_quote">On 6/20/07, <b class="gmail_sendername">Russell Brennan</b> <<a href="mailto:rjbrennn@gmail.com">rjbrennn@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Yes, I'm on RedHat 5... Piping it sounds liek a great idea to me, I'm going to try to put something together and I'll post some code snippets for future reference when I get things running smoothly. Thanks,
</div>
<div> </div>
<div>Russell<br><br> </div>
<div><span class="e" id="q_1134969e9ea33f8f_1">
<div><span class="gmail_quote">On 6/19/07, <b class="gmail_sendername">Ross Finlayson</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:finlayson@live555.com" target="_blank">finlayson@live555.com
</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">>I am trying to take a buffer of MPEG2-TS data which is constantly<br>>written to, and hook it up to live555 for output via RTP.
<br><br>The best way to do this is to make your buffer an OS pipe, and then<br>just have your LIVE555-based application read from this. For<br>example, if you write your MPEG-2 TS data to standard output (in one<br>process), and then pipe this to your LIVE-555-based application (in
<br>another process), that reads from "stdin" (see below).<br><br>If you do this, then you won't have to modify any existing code<br>(except the name of the input file in "testMPEG2TransportStreamer").
<br><br>> I am currently basing my work on the testMEPG2TransportStreamer<br>>code, but obviously this was designed to stream a file.<br><br>Yes - however, the special file name "stdin" can be used to read from
<br>standard input.<br><br>(I'm assuming that you're running a Unix system (including Linux).<br>If instead you're running Windows, then I don't know what you'd do<br>(although I think Windows has 'named pipes').)
<br>--<br><br>Ross Finlayson<br>Live Networks, Inc.<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>_______________________________________________
<br>live-devel mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">
http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div><br><br clear="all"><br></span></div><span class="sg">-- <br>Russell Brennan <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:RJBrennn@gmail.com" target="_blank">
RJBrennn@gmail.com</a><br>(708) 699-7314 </span></blockquote></div><br><br clear="all"><br>-- <br>Russell Brennan<br><a href="mailto:RJBrennn@gmail.com">RJBrennn@gmail.com</a><br>(708) 699-7314