title: Encoding video frames with libavcodec
body: <p>I am a newbie in video coding and I have a simple task to do for my own project.</p>
  
  <p>Basically, I have a certain number of raw RGB frames in the memory which are easily accessible by pointers. I want to encode them using libavcoded. Initializing is fine but I couldn't really understand how I should feed these frame information to the codec. Should I use avpicture_fill function? Could you please shed some light on me, preferably with some examples. I am using MSVC++ environment. </p>
  
  <p>Thank you very much.</p>