=====av_set_parameters===== ====Overview==== Defined in ''avformat.h''\\ Set the output parameters of the output video context (see [[ffmpeg: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 ([[ffmpeg:AVFormatContext]]) to be populated. ===ap=== AVFormatParameters *ap A pointer to the format parameters ([[ffmpeg: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]]