Reputation: 1249
I am a newbie in video coding and I have a simple task to do for my own project.
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.
Thank you very much.
Upvotes: 2
Views: 5703
Reputation: 14724
There are a couple of examples under the doc
directory:
Upvotes: 4