User Tools

Site Tools


ffmpeg:av_interleaved_write_frame

This is an old revision of the document!


av_interleaved_write_frame

Overview

Defined in avformat.h

Writes a packet to an output media file ensuring correct interleaving.

The packet must contain one audio or video frame.
If the packets are already correctly interleaved the application should call AVFormatContext.

pkt

AVPacket *pkt

The AVPacket, which contains the stream_index, buf/buf_size, dts/pts, …

Return value

Returns < 0 if error, = 0 if OK, 1 if end of stream wanted.

See also

ffmpeg/av_interleaved_write_frame.1197294323.txt.gz · Last modified: 2007/12/10 14:45 by deva