0. create instance
add FFEncoder component to the form of your applcation, or you can create it in run-time.
We name the instance as FFEncoder for presentation.
1. load libraries
FFEncoder.LoadAVLib('libraries path')
failed if return False
2. add a task with a input file (or other input source)
TaskIndex := FFEncoder.AddTask('the input file');
failed if TaskIndex < 0
3. add more input files, for advanced use, skip this step for beginner
FFEncoder.AddInputFile(TaskIndex, 'the more input file');
failed if return False
4. set a output file (or other output target)
FFEncoder.SetOutputFile(TaskIndex, 'the output file');
failed if return False
5. set more output files, for advanced use, skip this step for beginner
same as step 4.
6. add event handler of OnProgress
add progress information showing code
7. add event handler of OnTerminate
add termination controling code
8. if you want the log information, please add an FFLogger component
add the log information showing code in OnLog event
9. start transcoding
FFEncoder.Start(1)
10. that's all