Method _Ffmpeg.ffmpeg()->encode()


Method encode

mapping|int encode(string data)

Description

Returns mapping with new encoded frame and length of data which was used for encoding.


Method encode

int encode(string data, function(:void) shuffler)

Description

Returns 1 on success, 0 otherwise.

Note

Usable only in encoder

See also

create()