<!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"
color="#000080">No, the network is clean. It appears that there is a
problem in timestamp conversion from RTP packets to PES
packets.</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000080">I had to modify MPEG2TransportStreamFromESSource.cpp,
exclude PTS from the PES header by assigning</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000080"
>
fInputBuffer[7] = 0x00; // instead of
0x80</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000080"
>
fInputBuffer[8] = 0; //
instead of 5</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000080">and adjusting</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000080"
>
#define SIMPLE_PES_HEADER_SIZE 9 // instead of 14</font></blockquote>
<blockquote type="cite" cite><font face="Arial" size="-1"
color="#000080">in order to make it work.</font></blockquote>
<div><br></div>
<div>That's strange. This has not been a problem for our own use
of "MPEG2TransportStreamFromESSource" (in our
"wis-streamer" application). Note also that these
presentation timestamps still end up getting used as the PCR values in
the resulting Transport Stream (they just don't, with your
modification, get put in the PES header), so there appears to be
nothing wrong with those presentation times per se.</div>
<x-sigsep><pre>--
</pre></x-sigsep>
<div><br>
Ross Finlayson<br>
Live Networks, Inc.<br>
http://www.live555.com/</div>
</body>
</html>