<!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] RTP to Transport
Stream</title></head><body>
<blockquote type="cite" cite><font face="Arial" size="-1">I am looking
for a way to modify openRTSP example to</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">a. Request
MPEG2 Program Stream file from live555 Media Server (already in
openRTSP)</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">b. Receive 2
RTP streams for audio and video (already in
openRTSP)</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">c. Multiplex
2 streams and create an MPEG2 Transport Stream file instead of 2
separate files.</font></blockquote>
<blockquote type="cite" cite><font face="Arial"
size="-1"> </font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1">Could you
suggest combination of filters to achieve this?</font></blockquote>
<div><br></div>
<div>You can do this using the "MPEG2TransportStreamFromESSource"
class. Create an object of this class, then 'feed' the audio and
video sources ("RTPSource"s) into it, using the
"addNewAudioSource()" and "addNewVideoSource()"
member functions. Then create a "FileSink" object, and
'play' it using your "MPEG2TransportStreamFromESSource"
object.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>