Pike v8.0 release 1738

Method _Ffmpeg.ffmpeg()->create()


Method create

_Ffmpeg.ffmpeg _Ffmpeg.ffmpeg(int codec_name, int encoder)

Description

Create decoder or encoder object.

Parameter codec_name

Internal number of codec, eg. CODEC_ID_MP2.

Parameter encoder

If true, encoder object will be created, decoder object otherwise.