<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>Just wondering is this new decode/encode system here to stay? If
      it is all examples should be upgraded as I used ffplay to see how
      to make it work (Use the source) but it shouldn't be like that.
      codepar is easiest to adapt but lot of old code is going to get
      obsolete soon.<br>
    </p>
    <p>Sincerely,</p>
    <p>Tuukka<br>
    </p>
    <br>
    <div class="moz-cite-prefix">20.10.2016, 06:03, Shu Wang kirjoitti:<br>
    </div>
    <blockquote
cite="mid:CAOqgBez6fNwX8BoHkAvjsjx1byERm2TP27BjR0sLyBZ5RJN4DA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Liu,
        <div><br>
        </div>
        <div>  <i>codec -> codecpar</i> isn't a big change, and is
          easy to upgrade. Clone and pull the snapshot repo, you'll see
          some examples has been updated, though not all of them. </div>
        <div><br>
        </div>
        <div>  While the new decode/encode API is another story. I
          haven't tried these yet. Not many examples I can find. Maybe
          the closest one is this: <a moz-do-not-send="true"
            href="https://blogs.gentoo.org/lu_zero/2016/03/29/new-avcodec-api/">https://blogs.gentoo.org/lu_zero/2016/03/29/new-avcodec-api/</a></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Oct 20, 2016 at 6:13 AM, Chao
          Liu <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:yijinliu@gmail.com" target="_blank">yijinliu@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi,
              <div>I am trying to upgrade our code to 3.1. There are a
                lot of warnings about deprecated APIs, like use
                AVStream.codecpar instead of AVStream.codec,
                use  avcodec_send_packet()/<wbr>avcodec_receive_frame()
                instead of avcodec_decode_video2. Are there any examples
                how to do the transition? I noticed that all these <a
                  moz-do-not-send="true"
                  href="https://www.ffmpeg.org/doxygen/3.1/examples.html"
                  target="_blank">examples</a> are still using the old
                APIs. Should they be updated?</div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Libav-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
            <a moz-do-not-send="true"
              href="http://ffmpeg.org/mailman/listinfo/libav-user"
              rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/<wbr>listinfo/libav-user</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">Shu. Wang @ Bestminr<br>
            <a moz-do-not-send="true" href="http://halfelf.me"
              target="_blank">http://halfelf.me</a></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>