Thank you, Ross.&nbsp; The code that I used to convert it is basically a copy-paste from the code of &quot;testMPEG1or2ProgramToTransportStream&quot;<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-&gt;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&nbsp; = 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-&gt;startPlaying(*tsFrames, afterConverting, NULL);<br><br></span></span>perhaps there is something wrong with my use of the code.&nbsp; Could you provide me the source program stream of 
<span style="font-style: italic; font-weight: bold;"><a href="http://www.live555.com/test.ts">http://www.live555.com/test.ts</a></span> so that I can try converting it please?&nbsp; I'll check to see if those errors I mentioned before show up again.
<br><br>Napoleon.<br><br><div><span class="gmail_quote">On 7/11/06, <b class="gmail_sendername">Ross Finlayson</b> &lt;<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At 01:45 PM 7/10/2006, you wrote:<br>&gt;I don't know if you tried converting from the original mpeg file,<br>&gt;but when I did, errors like the following appeared:<br>&gt;<br>&gt;MPEGProgramStreamParser::parsePESPacket() error: PES_packet_length
<br>&gt;(2036) exceed s max frame size asked for (220)<br>&gt;Missing sync byte!<br>&gt;Missing sync byte!<br>&gt;Missing sync byte!<br><br>When I converted your Program Stream file to a Transport Stream using<br>the &quot;testMPEG1or2ProgramToTransportStream&quot; demo application, I saw no
<br>such errors.&nbsp;&nbsp;If you didn't use that code, then I can't help you - sorry.<br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ross Finlayson<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Live Networks, Inc. (<a href="http://LIVE555.COM">LIVE555.COM</a>)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="http://www.live555.com/">
http://www.live555.com/</a>&gt;<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