tags:

views:

79

answers:

0

What are differences in C code that should be written in FFmpegs AVcodec, x264 and WebM VP8, for encoding some amount of generated frames?

So Idea here is to collect simple array of video_encode functions containing: Encoder setup, Frames generation and frame by frame encoding. simple. just on codec level (no special containers involved)

Such examples should be enough for one to be able knowing his own container structure for example create a file in readable format, or stream live encoded video frame by frame on to network.

My own research:

For FFmpeg I found a simple example with video_encode_example that generates video frames and encode them. I wish to see some alike examples for x264 and WebM.

Once upon a time someone (KillianDS) gave me such example of x264 it seemed right but it was not in form of a function so if you can extend it into function (like FFmpeg's one I'd be glad)