<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2012-10-22 08:30, Mazahir Poonawalla
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGKnx=2iEJb3h8jrrFa2v+e6JOc1nz4JxLztkJavikX4zJHsHw@mail.gmail.com"
      type="cite">Hi,
      <div><br>
      </div>
      <div>Any help on this one?</div>
      <div><br>
      </div>
      <div>Cheers,</div>
      <div>Maz<br>
        <br>
        <div class="gmail_quote">On 19 October 2012 15:34, Mazahir
          Poonawalla <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:mazahir.poonawalla@ideaforge.co.in"
              target="_blank">mazahir.poonawalla@ideaforge.co.in</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>Hi,</div>
            <div><br>
            </div>
            I am using RTSP to stream a video from leopardboard. The
            streaming works fine on client. I am capturing the stream on
            localhost and then recording the incoming video to a mp4/avi
            file. It records well and can be played in linux movie
            player but it cannot be played in vlc nor I get any video
            properties. 
            <div>
              <br>
            </div>
            <div>My recording plugin is as follows:</div>
            <div><font color="#990000"><b><span
style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif"">gst-launch
-v
                    -e rtspsrc location=<a class="moz-txt-link-freetext" href="rtsp://localhost:8554/test">rtsp://localhost:8554/test</a> !
                    rtph264depay ! filesink </span><span
style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif"">location=test1.avi</span></b></font><br
                clear="all">
              <div><br>
              </div>
              <div>Any help as to what is going wrong. Also just for
                reference I am using dmaienc_h264 to encode the video. </div>
              <br>
            </div>
            <div>Thanks,<br>
              Maz</div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        <br>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    You don't mux this in any container. It seems that the result is a
    raw h264 bitstream. Perhaps use this instead:<br>
    <br>
    gst-launch -v -e rtspsrc location=<a class="moz-txt-link-freetext" href="rtsp://localhost:8554/test">rtsp://localhost:8554/test</a> !
    rtph264depay ! matroskamux ! filesink location=test1.mkv<br>
    <br>
    Also note that AVI is not suitable for h264 data. Use MKV (as shown
    above) or MP4 instead.<br>
  </body>
</html>