I found this tutorial about ffmpeg the thing i do not get is how to encode video.
can any one, please provide a tutorial.. with explanations for that? (not that i d
FFmpeg's developers guide refers to an api sample featuring encoding and decoding of both audio and video. This answer links to it as well.