User Tools

Site Tools


ffmpeg:av_set_parameters

This is an old revision of the document!


av_set_parameters

Overview

Defined in avformat.h

Set the output parameters of the output video context (see libavformat/output_example.c in the ffmpeg source tree]]). 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.1248160262.txt.gz · Last modified: 2009/07/21 09:11 by deva