Thank you, Ross.<br><br>I have placed the original mpeg video here:<br><a href="http://208.131.130.36/zyban_b.mpg">http://208.131.130.36/zyban_b.mpg</a><br><br>And the converted to TS using liveMedia is here:<br><a href="http://208.131.130.36/zyban_b.ts">
http://208.131.130.36/zyban_b.ts</a><br><br>My code to convert from mpeg to ts is basically this:<br><br><span><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">FramedSource* inputSource = ByteStreamFileSource::createNew(*env, inputFile);
</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">MPEG1or2Demux* baseDemultiplexor = MPEG1or2Demux::createNew(*env, inputSource);
</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">MPEG1or2DemuxedElementaryStream* pesSource = baseDemultiplexor->newRawPESStream();
</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">FramedSource* tsFrames = MPEG2TransportStreamFromPESSource::createNew(*env, pesSource);
</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">MediaSink* outputSink = FileSink::createNew(*env, outputFile);</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);">
<span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">outputSink->startPlaying(*tsFrames, afterConverting, NULL);</span><br></span><br>My code, to stream it over the network is this:<br><br><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">
ServerMediaSession* sms = ServerMediaSession::createNew(*env, streamName, streamName, descriptionString);</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">
sms->addSubsession(MPEG2TransportFileServerMediaSubsession::createNew(*env, inputFileName, False));</span><br style="font-family: courier new,monospace; color: rgb(0, 0, 102);"><span style="font-family: courier new,monospace; color: rgb(0, 0, 102);">
rtspServer->addServerMediaSession(sms);</span><br style="font-family: courier new,monospace;"><br><br><br><br><div><span class="gmail_quote">On 7/6/06, <b class="gmail_sendername">Ross Finlayson</b> <<a href="mailto:finlayson@live555.com">
finlayson@live555.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>>Thank you for your fast response. I have analyzed the TS stream
<br>>produced by the "testMPEG1or2ProgramToTransportStream"<br>>program. Apparently, the problem is caused because there is no<br>>Audio PID present in the stream.<br><br>Please put your original MPEG Program Stream (*not* the Transport
<br>Stream) file on a web server, and send us the URL, so we can take a<br>look at this ourselves.<br><br><br> Ross Finlayson<br> Live Networks, Inc. (<a href="http://LIVE555.COM">LIVE555.COM</a>)<br> <
<a href="http://www.live555.com/">http://www.live555.com/</a>><br><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com
</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br>Napoleon E. Cornejo<br><a href="mailto:ncornejo@gmail.com">
ncornejo@gmail.com</a><br>San Salvador, 2006