Skip to content

av_stream_write_subtitle

Chung Leong edited this page Jun 27, 2013 · 1 revision

av_stream_write_subtitle - Write a subtitle

bool av_stream_write_subtitle( av_stream $strm, array $container, double $time )

av_stream_write_subtitle() adds a subtitle to a subtitle stream at time. See av_stream_read_subtitle for the structure of container.

###Parameters:

strm - The stream to write to. Must be a subtitle stream.

container - An associative array containing the subtitle.

time - The presentation time (in seconds).

###Return Value: True if a subtitle was successfully written; false otherwise.

Clone this wiki locally