-5

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

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
y2k
  • 65,388
  • 27
  • 61
  • 86
  • 1
    Start by studying the JPEG spec, and still image encoding in general. Move on once you've mastered that. Unless you have an absolutely revolutionary idea, you'll be much better off writing an encoder for an existing encoding. (Then, you will be successful even if you have a merely ingenious new approach.) – Potatoswatter Feb 01 '10 at 02:24

3 Answers3

2

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

Jan Jongboom
  • 26,598
  • 9
  • 83
  • 120
1

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
  • 2,503
  • 14
  • 12
0

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
  • 76,898
  • 55
  • 205
  • 325