<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">I want to build rtspserver for unique file format.<br></blockquote><div><br></div>You can do this, but instead you should consider using a *standard* file format - not a file format that only you understand.  In particular, if you chose to use the "Matroska" file format, you would find that we already support streaming from this file format (including Matroska files that contain H.264 video and AAC audio).  Also, standard media player applications (such as VLC) would be able to play the file.</div><div><br></div><div><br><blockquote type="cite">Each file have recorded video streams (mpeg2 or h264 sometime with<br>audio acc, raw frames with in, variable fps - usually 4-16 ) from<br>multiple sources. It is in 5 minute chunks and chunks are located in<br>separate dirs. Of course i know how to extract any data from that<br>file.<br></blockquote><div><br></div>The most important feature that you need in your file format - if you want to be able to stream from it properly - is the ability to generate an accurate 'presentation time' for each frame.  In particular, you would need a subclass of "FramedSource" (that you would write) - one for video; one for audio - that delivers one frame at a time from your input file(s), with each frame having an accurate 'presentation time'.  (This presentation time should be aligned with 'wall clock time' - the times that you would get by calling "gettimeofday()".</div><div><br></div><div>Then, you will need your own subclass of "OnDemandServerMediaSubsession" for each codec that you wish to stream from your custom file format.  See <a href="http://www.live555.com/liveMedia/faq.html#liveInput-unicast">http://www.live555.com/liveMedia/faq.html#liveInput-unicast</a></div><div><br></div><div>Unfortunately, because your input file format is something that only you plan to support, I don't have time on this mailing list to help you with the details of this.</div><div><br></div><div><br><blockquote type="cite">- services should have 'trick play'</blockquote><div><br></div>See <a href="http://www.live555.com/liveMedia/faq.html#trick-mode">http://www.live555.com/liveMedia/faq.html#trick-mode</a></div><div><br></div><div><br><blockquote type="cite"> i had bad experience trying to use live555 rtsp client<br>in MT application.<br></blockquote><div><br></div>See <a href="http://www.live555.com/liveMedia/faq.html#threads">http://www.live555.com/liveMedia/faq.html#threads</a> !!!</div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>