views:

190

answers:

3

I want to write a video encoding. What do I need to do?

+2  A: 

Use ffmpeg, then just call the executable from your code.

Jan Jongboom
A: 

Use OpenCV. it has an easy to use wrapper around one of the native API's in windows for doing this and also around ffmpeg.

shoosh
+1  A: 

Do you mean implement / invent a codec, or do you mean encode a video?

For encoding a video, use libavcodec from ffmpeg.

For implementing or developing a new codec, this is typically done over a series of years by a team of experts, and if you have to ask this general a question it may be a learning experience but would most likely be a waste of your time.

Justin Smith