User Tools

Site Tools


ffmpeg:av_find_stream_info

av_find_stream_info

Overview

Defined in avformat.h

Read packets of a media file to get stream information. This is useful for file formats with no headers such as MPEG. This function also computes the real frame rate in case of mpeg2 repeat frame mode.

The logical file position is not changed by this function; examined packets may be buffered for later processing.

int av_find_stream_info(AVFormatContext *ic);

Parameters

ic

AVFormatContext *ic

A pointer to an AVFormatContext struct. Media file handle.

Return value

>=0 if OK. AVERROR if error.


Back to ffmpeg

ffmpeg/av_find_stream_info.txt · Last modified: 2007/11/26 13:40 by deva