User Tools

Site Tools


ffmpeg:av_set_parameters

av_set_parameters

Overview

Defined in avformat.h

Set the output parameters of the output video context (see output_example). Must be done even if no parameters in order to prepare the output format context. In this latter case ap may be NULL.

int av_set_parameters(AVFormatContext *s,
                      AVFormatParameters *ap);

Parameters

s

AVFormatContext *s

A pointer to the output video context (AVFormatContext) to be populated.

ap

AVFormatParameters *ap

A pointer to the format parameters (AVFormatParameters) (sometimes gathered from the command line). May be NULL.

Return value

On invalid output format returns a negative number.

See also


Back to ffmpeg

ffmpeg/av_set_parameters.txt · Last modified: 2009/07/21 09:25 by deva