PDA

View Full Version : C++ code to decode/encode MPEG2 in 4:2:0?


FredThompson
13th November 2003, 07:30
I'm looking for (preferably free) C++ source for decoding and encoding MPEG2. The best option would be something that stays in the 4:2:0 color model. Encoded sections will be very short, this is for an intra-GOP editor to facilitate frame-accurate cutting and joinging.

Can anyone direct me to such a beast?

Nic
13th November 2003, 09:23
the ffmpeg library is the best bet as it can do both. mjpeg at sourceforge has an encoder. libmpeg2 has a (very good) decoder.

Good Luck,
-Nic

ChristianHJW
27th November 2003, 12:12
http://ffmpeg.sf.net
http://sf.net/projects/ffmpeg