<div dir="ltr"><div><div>Rtsp with trick play should have no difficulty it is the container chosen. A lot of containers need to close to create an index. <br></div>Every system I have ever worked with that needed this type of functionality has two files, One for the index and one for the video. You can read and write in parallel, easy peasy.<br></div>It is why I did not tie myself to a container until it was an "export" operation. Then I could export any subset of the video since the index can then be created for the specific container and clip length on demand. be it AVI or whatever.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 18, 2014 at 3:52 PM, Marcin <span dir="ltr"><<a href="mailto:marcin@speed666.info" target="_blank">marcin@speed666.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hi,<br>
      I think that Michael wants to have somekind of DVR functionality
      in RTSP which is not supported i think.<br>
      Marcin<br>
      <br>
      W dniu 2014-11-18 16:42, Chapman, Michael J pisze:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry
            I didn’t clarify this in an earlier post, but one of the
            goals we were hoping to achieve is the ability to have any
            rtsp client able to connect to our Media Server and perform
            these commands. So, we were hoping to not have to develop
            and use a custom client if possible. For instance, having
            VLC player (merely as an example) connect to our Media
            Server and perform the near-real time trick play. I hope
            that makes sense and better clarifies our goal. That is why
            we are looking into the tsx file generation possibilities.<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank
            you,
            <u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Michael
            Chapman<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
        <p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
            live-devel [<a href="mailto:live-devel-bounces@ns.live555.com" target="_blank">mailto:live-devel-bounces@ns.live555.com</a>]
            <b>On Behalf Of </b>Jeff Shanab<br>
            <b>Sent:</b> Monday, November 17, 2014 9:09 AM<br>
            <b>To:</b> LIVE555 Streaming Media - development & use<br>
            <b>Subject:</b> Re: [Live-devel] EXTERNAL: Re: Creating live
            tsx file or Updating existing TSX file<u></u><u></u></span></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div>
          <p class="MsoNormal">That seems similar to security video and
            if it is really just the recent past, can be done entirely
            in the client. It may be preferred for the smooth transition
            from now to recent-past and back to realtime.
            <br>
            <br>
            Note: You would only cache uncompressed video. I maintained
            2 gops worth decoded and the rest however many seconds
            configured.
            <br>
             ( I had my own http based server that served out gops of
            video so I could play both directions and have random access
            to the video. I only put things in containers on "export" I
            streamed to a player of my own design so I was not streaming
            rtsp, I streamed multiple protocols including my own http
            one from the same rtsp input. A bit odd, but it worked)<u></u><u></u></p>
        </div>
        <div>
          <p class="MsoNormal"><u></u> <u></u></p>
          <div>
            <p class="MsoNormal">On Mon, Nov 17, 2014 at 10:44 AM,
              Chapman, Michael J <<a href="mailto:michael.j.chapman@lmco.com" target="_blank">michael.j.chapman@lmco.com</a>>
              wrote:<u></u><u></u></p>
            <div>
              <div>
                <p class="MsoNormal">Ross,<u></u><u></u></p>
                <p class="MsoNormal"> <u></u><u></u></p>
                <p class="MsoNormal">The
                  video streams we are dealing with for our project
                  mainly involve Unmanned Aerial Vehicle (UAV) video
                  footage which comes to us as a video stream over the
                  network. Due to the nature of the video, we need to be
                  able to view it as soon as possible. We have an option
                  to view it live from the source (non-rtsp approach
                  with no trick play features) and we also want to be
                  able to view the video footage in near-real time via
                  rtsp. The benefit of the rtsp approach is that each
                  user can have a unique rtsp session of the video with
                  the intent of near-real time trick play. If an analyst
                  sees something of interest in the video, they need to
                  ability to rewind (or at least seek backwards) a few
                  seconds before the video segment of interest to verify
                  the footage. The ability to re-verify a video segment
                  in the recent past, while watching the near-real time
                  video, is why we would like to have this Live555
                  Indexing feature.
                  <u></u><u></u></p>
                <p class="MsoNormal"> <u></u><u></u></p>
                <p class="MsoNormal">Also,
                  these videos will remain archived and available via
                  rtsp for future analysis, so we will be using the rtsp
                  and trick play options after the video is completely
                  received. We are just hoping that we could use a live
                  indexing rtsp feature for the near-real time analysis
                  use case instead of creating a custom caching of the
                  video until the video is fully received and indexed.
                  As the video stream we are receiving may be very long
                  (may be up to or more than an hour is some cases), we
                  cannot realistically index the file as we are
                  receiving it without the requested feature.<u></u><u></u></p>
                <p class="MsoNormal"> <u></u><u></u></p>
                <p class="MsoNormal">Thank
                  you,
                  <u></u><u></u></p>
                <p class="MsoNormal"> <u></u><u></u></p>
                <p class="MsoNormal">Michael
                  Chapman<u></u><u></u></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
                <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
                <div>
                  <div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
                    <p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
                        live-devel [mailto:<a href="mailto:live-devel-bounces@ns.live555.com" target="_blank">live-devel-bounces@ns.live555.com</a>]
                        <b>On Behalf Of </b>Ross Finlayson<br>
                        <b>Sent:</b> Sunday, November 16, 2014 1:07 PM<br>
                        <b>To:</b> LIVE555 Streaming Media - development
                        & use<br>
                        <b>Subject:</b> EXTERNAL: Re: [Live-devel]
                        Creating live tsx file or Updating existing TSX
                        file</span><u></u><u></u></p>
                  </div>
                </div>
                <p class="MsoNormal"> <u></u><u></u></p>
                <div>
                  <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                    <div>
                      <div>
                        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">I
                            am recording a transport stream file that
                            needs to support rtsp trick play as it is
                            being recorded</span><u></u><u></u></p>
                      </div>
                    </div>
                  </blockquote>
                  <div>
                    <p class="MsoNormal"> <u></u><u></u></p>
                  </div>
                  <p class="MsoNormal">People
                    often ask for this feature, and I'm a bit puzzled by
                    it.  What specific 'trick play' operations do you
                    want the server to be able to perform on the
                    Transport Stream file while it is still growing?
                     (I'm trying to understand whether/when this
                    actually makes sense.)<u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <p class="MsoNormal"> <u></u><u></u></p>
                </div>
                <div>
                  <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
                    <div>
                      <div>
                        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Is
                            it possible to create the tsx file as I am
                            recording and continue indexing as new data
                            if received (so having the indexer block and
                            wait for new data) while also having that
                            partially complete tsx file be used with the
                            Live555MediaServer for trick play?</span><u></u><u></u></p>
                      </div>
                    </div>
                  </blockquote>
                  <div>
                    <p class="MsoNormal"> <u></u><u></u></p>
                  </div>
                </div>
                <p class="MsoNormal" style="margin-bottom:12.0pt">I
                  may well end up adding this feature - but first, I'd
                  need to get a feel for how much it makes sense (thus
                  my question above).<u></u><u></u></p>
                <div>
                  <p class="MsoNormal"><span style="font-family:"Helvetica","sans-serif";color:black">Ross
                      Finlayson<br>
                      Live Networks, Inc.<br>
                      <a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a></span>
                    <u></u><u></u></p>
                </div>
                <p class="MsoNormal"> <u></u><u></u></p>
              </div>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt"><br>
              _______________________________________________<br>
              live-devel mailing list<br>
              <a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
              <a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><u></u><u></u></p>
          </div>
          <p class="MsoNormal"><u></u> <u></u></p>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
live-devel mailing list
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

<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" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
<br></blockquote></div><br></div>