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 dont get this official one but i'd love to see more comments)
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 dont get this official one but i'd love to see more comments)
Suppose you have a video file britney.avi
and you want to encode it to FLV, the you could use the following command:
ffmpeg -i britney.avi britney.flv
The encoder codec is detected from the file extension of the output file parameter: .flv
.
This is the simplest example. I hope helps you to get started.
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.