<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#CCCCCC" text="#000000">
    Greetings all.<br>
    <br>
    I have a bitstream consisting of just idr and p frames, (nals type 5
    and 1).<br>
    <br>
    How do I present them in the AVPacket being fed to the decode call?<br>
    <br>
    [7 8 5] [7 8 5 1] [7 8 5 1 1]...<br>
    or<br>
    [7 8 5] [1] [1] [1] [1]<br>
    <br>
    Do I prepend startcodes to the [1] buffer?<br>
    <br>
    If I see a new idr frame, do I need to present [7 8 5] again? or
    just [5]?<br>
    <br>
    Any documentation I can read that describes how this should be done
    in general, at least with h264?<br>
    <br>
    Thanks all<br>
    <pre class="moz-signature" cols="72">-- 
Joshua Kordani
LSA Autonomy</pre>
  </body>
</html>