AVBufferSrcParameters

This structure contains the parameters describing the frames that will be passed to this filter.

It should be allocated with av_buffersrc_parameters_alloc() and freed with av_free(). All the allocated fields in it remain owned by the caller.

Members

Variables

channel_layout
ulong channel_layout;

Audio only, the audio channel layout

format
int format;

video: the pixel format, value corresponds to enum AVPixelFormat audio: the sample format, value corresponds to enum AVSampleFormat

frame_rate
AVRational frame_rate;

Video only, the frame rate of the input video. This field must only be set to a non-zero value if input stream has a known constant framerate and should be left at its initial value if the framerate is variable or unknown.

height
int height;
Undocumented in source.
hw_frames_ctx
AVBufferRef* hw_frames_ctx;

Video with a hwaccel pixel format only. This should be a reference to an AVHWFramesContext instance describing the input frames.

sample_aspect_ratio
AVRational sample_aspect_ratio;

Video only, the sample (pixel) aspect ratio.

sample_rate
int sample_rate;

Audio only, the audio sampling rate in samples per second.

time_base
AVRational time_base;

The timebase to be used for the timestamps on the input frames.

width
int width;

Video only, the display dimensions of the input frames.

Meta