title: h264 annexb bitstream to flv mux ffmpeg library
body: <p>I have an IP Camera which gives H264 annexb Bitstream through SDK calls.
  I want to pack this video stream into FLV container. So far I've got to know the following :-</p>
  
  <p>I have to convert H264 annexb to H264 AVCC : 
  For this I'll have to replace NAL header byte (0x00000001) with Size of NALU (big endian format).</p>
  
  <p>My question is, What do I do with SPS and PPS ? should I write (av_interleaved_write_frame) them as are after replacing the NAL header ? or do I not write these frames at all ?</p>
  
  <p>I read about AVCC requiring extra data. How do I construct that ? where do I pass that ?</p>