<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [Live-devel] about mpeg4 stream
project</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1">I am doing a
mpeg4 stream project on embedded Linux system, the MPEG4 data come
from a circular buffer or ping-pong buffer in my embedded device, It
seems I can start from testOnDemandRTSCServer.cpp, but my problem is
how I can make the memory buffer as a file in Linux
system</font></blockquote>
<div><br></div>
<div>The easiest way to do this, IMHO, is to write an application that
reads encoded data from your buffer, and writes it to 'stdout'.
Then pipe this into the "testOnDemandRTSPServer"
application, by running:</div>
<div><x-tab>
</x-tab>your-reader-application | testOnDemandRTSPServer</div>
<div><br></div>
<div>For this to work, you will need to modify the
"testOnDemandRTSPServer.cpp" code to</div>
<div>1/ set "reuseFirstSource" to True</div>
<div>2/ use the filename "stdin" instead of
"test.m4e"</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>