views:

86

answers:

2

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)

A: 

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.

StackedCrooked
Sorry - I ment C tutorial for programmers with use of ffmpeg libs and so on.
Blender
+1  A: 

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.

Yktula