Hi I am trying to encode an uncompressed raw bitstream to MPEG-2 I frame only. Does any one have an API / example program for using ffmpeg's library for encoding video? The example given in here http://www.inb.uni-luebeck.de/~boehme/using_libavcodec.html is only for decoding. Thanks a lot! mark