<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#ffffff"
    text="#000000">
    On 06/06/2013 07:25 AM, Alexander Wischnewski wrote:
    <blockquote
cite="mid:CAJg_av-gC-yjBkejOdeYesSgisDAYazt7xvgNy5eBDXS1mhVGw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div style="">i am having troubles to decode a h264 live stream
          provided by an HD ip camera. I tried first with the recent git
          version of ffmpeg on android and then later on my mac, the
          results always looks the same as below.</div>
        <div style=""><br>
        </div>
        <div style="">Maybe someone can give me a hint what i am doing
          wrong.</div>
      </div>
    </blockquote>
    <br>
    Wild guess: You're using udp transport.<br>
    <br>
    Try to add "-rtsp_transport tcp" before the "-i" on your command
    line. If that helps, than thet's your problem. The default UDP
    buffer is 64K, which is not sufficient for a single HD I-frame,
    which means every single I-frame is truncated.<br>
    <br>
    Unfortunately, there's no way to give a "big udp buffer" argument to
    rtsp in ffmpeg yet; there is one, but it only works directly on rtp.<br>
    <br>
  </body>
</html>