| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
_Ffmpeg
_Ffmpeg.ffmpeg

# Method _Ffmpeg.ffmpeg()->decode()

Method decode

  `mapping|int decode(string data)`

Description

  Returns a mapping with the new decoded frame and lenght of data which was used for decoding.

Method decode

  `int decode(string data, function shuffler)`

Description

  Decode all data buffer and pass result to shuffler . Returns `1` on success, `0` otherwise.

Note

  Shuffler variant isn't implemented, yet.

Note

  Usable only in decoder.

See also

  create()