<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div style="background-color: rgb(224, 224, 224); font-family: 'Trebuchet MS'; color: rgb(0, 80, 128); font-size: 10pt; position: static; z-index: auto; " background="" bgcolor="#e0e0e0"><div><div dir="ltr" align="left"><span class="939155107-31082012">You are indeed correct:
Program streams are a big "no-no" for any streaming situation, and I believe
it's a testament to the robust, flexible design of the live555 library for it to
recognize and correctly demux the stream. Unfortunately this is the constraint I
have been given - we are fetching footage from a SecureWise DVR which only
supports very limited encodings - all of which are encapsulated in an MPEG2
program stream.<span class="421194511-31082012"> </span></span></div>
<div dir="ltr" align="left"><span class="939155107-31082012"><span class="421194511-31082012"> </span></span></div>
<div dir="ltr" align="left"><span class="939155107-31082012"></span></div>
<div dir="ltr" align="left"><span class="939155107-31082012">I have a link to the
file: <a title="https://rapidshare.com/files/2840761585/MP2(PS)-H264.mp4" href="https://rapidshare.com/files/2840761585/MP2(PS)-H264.mp4">https://rapidshare.com/files/2840761585/MP2(PS)-H264.mp4</a></span></div></div></div></blockquote><div><br></div>FYI, you should not be using the filename suffix ".mp4" for these files, because that filename suffix is usually used for ISO MPEG-4 format files (which our software currently does not support, BTW). Instead, you should always use ".mpg" for Program Stream files.</div><div><br></div><div>Note, BTW, that if I rename your file to "MP2(PS)-H264.mpg", QuickTimePlayer will play it.</div><div><br></div><div>I'll take a look at whether I can handle this type of file (Program Stream files containing H.264 video) more directly in the LIVE555 code.</div><div><br></div><div><br></div><div><blockquote type="cite"><div style="background-color: rgb(224, 224, 224); font-family: 'Trebuchet MS'; color: rgb(0, 80, 128); font-size: 10pt; position: static; z-index: auto; " background="" bgcolor="#e0e0e0"><div><div dir="ltr" align="left"><span class="939155107-31082012"><span class="421194511-31082012"> </span></span><span class="421194511-31082012"> </span>I have updated (again) to the 30 August
version of live555, I had been testing with the previous version, compiled it
and have run the same tests - with much better success, disconnecting from a
stream no longer causes a crash. </div></div></div></blockquote><div><br></div>Attention everybody: If you're having problems with the LIVE555 code, then the *first* thing you should do is check whether you have the most up-to-date version!</div><div><br></div><div><br><blockquote type="cite"><div style="background-color: rgb(224, 224, 224); font-family: 'Trebuchet MS'; color: rgb(0, 80, 128); font-size: 10pt; position: static; z-index: auto; " background="" bgcolor="#e0e0e0"><div><div dir="ltr" align="left">The stream plays erratically though
(sporadically gets stuck on one frame for a few seconds), which the previous
version did not do.</div></div></div></blockquote><div><br></div>That's strange, because there have not been changes to the Program Stream demultiplexing code for several years...</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>