<html><head><base href="x-msg://3145/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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; "><div style="margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; font-family: verdana; font-size: 10pt; "><font size="2" face="Verdana"><div> I have extended the live555 to support mp4 file.But when playing ,the vlc has no process bar and the total time's<span class="Apple-converted-space"> </span><span class="dict-word">indicator(it's 00:00 at the l<span class="highlight" space="" rightzone="0|9" leftzone="0|9">ower right corner of vlc</span>).</span>  I can't jump to another point to play in the vlc process bar area.what's the reason of this?</div></font></div></span></blockquote><div>If you want to support 'seeking' within your file, you need to reimplement the following two virtual functions of your new "ServerMediaSubsession" subclass(es):</div><div><span class="Apple-tab-span" style="white-space:pre">    virtual float duration() const;</span></div><div><span class="Apple-tab-span" style="white-space:pre">              </span>You'll need to redefine this to return the track's duration in seconds (i.e., some value > 0.0)</div><div><span class="Apple-tab-span" style="white-space:pre">   virtual void seekStream(unsigned clientSessionId, void* streamToken, double& seekNPT, double streamDuration, u_int64_t& numBytes);</span></div><div><span class="Apple-tab-span" style="white-space:pre">           </span>This is the function that will do the seeking.</div><div><br></div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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; "><div style="margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; font-family: verdana; font-size: 10pt; "><font size="2" face="Verdana"><div> </div><div>(2)</div><div>when playing,at the first 10 seconds  there are many m<span class="highlight" space="" rightzone="0|9" leftzone="0|9">osaic on<span class="Apple-converted-space"> </span></span>the picture. what can I do to fix this problem?</div></font></div></span></blockquote><div><br></div></div>This is likely due to unusually large video frame sizes - i.e., too large for VLC's buffer.  VLC automatically compensates for this when it sees it, by increasing its buffer size, but it can't do anything about the first too-large video frame (that got truncated).<br><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>