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);
AVFormatContext *s
A pointer to the output video context (AVFormatContext) to be populated.
AVFormatParameters *ap
A pointer to the format parameters (AVFormatParameters) (sometimes gathered from the command line). May be NULL.
On invalid output format returns a negative number.
Back to ffmpeg