![]() |
Miam-Player
0.8.0
A nice music player
|
#include <buffersrc.h>
Public Attributes | |
| int | format |
| AVRational | time_base |
| int | width |
| int | height |
| AVRational | sample_aspect_ratio |
| AVRational | frame_rate |
| AVBufferRef * | hw_frames_ctx |
| int | sample_rate |
| uint64_t | channel_layout |
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.
| uint64_t AVBufferSrcParameters::channel_layout |
Audio only, the audio channel layout
| int AVBufferSrcParameters::format |
video: the pixel format, value corresponds to enum AVPixelFormat audio: the sample format, value corresponds to enum AVSampleFormat
| AVRational AVBufferSrcParameters::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.
| int AVBufferSrcParameters::height |
| AVBufferRef* AVBufferSrcParameters::hw_frames_ctx |
Video with a hwaccel pixel format only. This should be a reference to an AVHWFramesContext instance describing the input frames.
| AVRational AVBufferSrcParameters::sample_aspect_ratio |
Video only, the sample (pixel) aspect ratio.
| int AVBufferSrcParameters::sample_rate |
Audio only, the audio sampling rate in samples per secon.
| AVRational AVBufferSrcParameters::time_base |
The timebase to be used for the timestamps on the input frames.
| int AVBufferSrcParameters::width |
Video only, the display dimensions of the input frames.