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(:void) 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()