Hi,<br><br>Thanks your reply!<br><br>Yes, I tried that testMPEG1or2ProgramToTransportStream code. But is it possible to do "transcoding mpeg to ts" and "streaming ts" in one step in livemedia server? <br>
<br>I actually modified testMPEG1or2ProgramToTransportStream code by replacing the FileSink with a MPEG2TransportStreamFramer plus a SimpleRTPSink. This works well, in that I can transcode mpeg file to ts and stream it to destination.<br>
<br>However, I don't know how to do it in livemediaserver, because its design is different from the sample streamer code. In specific, we seem need a SubSession for RTSPserver, so that the server will generate the required sink and start streaming using this added subsession. In order to fit this design pattern, do I need to create a dedicate SubSession class?<br>
<br>Thanks.<br><br>Woods<br><br><br><div class="gmail_quote">On Fri, Jun 5, 2009 at 12:56 AM, Ross Finlayson <span dir="ltr"><<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I plan to modify the Live Media server to stream Mpeg file as Mpeg2 TS stream.<br>
Current code streams two respective streams for video and audio.<br>
</blockquote>
<br></div>
The current server code *already* streams Transport Stream data as multiplexed (combined) audio+video. If you have a MPEG Transport Stream file, then you don't need to modify any of the existing code to stream it.<br>
<br>
MPEG *Program* Stream files, however, are streamed as separate audio and video RTP streams.<br>
<br>
Do you want to convert a Program Stream file to a Transport Stream file (so you can stream it as such)? If so, you can do so using our "testMPEG1or2ProgramToTransportStream" demo application (in the "testProgs" directory).<br>
-- <br><font color="#888888">
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Woods<br>