[FFmpeg-user] What is a "pad" in the context of an "input pad", an "output pad" and a "filter pad"

Reindl Harald h.reindl at thelounge.net
Fri Oct 28 09:03:39 EEST 2022



Am 27.10.22 um 22:38 schrieb Phil Rhodes via ffmpeg-user:
> "Pad" in audio engineering usually means "to attenuate."
> "Pad that down a bit," meaning "reduce the volume."

seriously? and that question starts with top-posting and wrong quoting!

in which crazy world means padding reduce something which would be 
trimming while "padding" everywhere outside your mind means the opposite

36.39 apad
Pad the end of an audio stream with silence.
This can be used together with ffmpeg -shortest to extend audio streams 
to the same length as the video stream

39.181 pad
Add paddings to the input image, and place the original input at the 
provided x, y coordinates.
It accepts the following parameters: width, w height, h
Specify an expression for the size of the output image with the paddings 
added. If the value for width or height is 0, the corresponding input 
size is used for the output.

pad, p
If set to 1, the filter will pad the last audio packet with silence, so 
that it will contain the same number of samples (or roughly the same 
number of samples, see frame_rate) as the previous ones. Default value is 1.

first_pts
For swr only, assume the first pts should be this value. The time unit 
is 1 / sample rate. This allows for padding/trimming at the start of 
stream. By default, no assumption is made about the first frame’s 
expected pts, so no padding or trimming is done

> On Thursday, 27 October 2022 at 21:18:46 BST, Michael Koch <astroelectronic at t-online.de> wrote:
>   
>   Am 27.10.2022 um 21:57 schrieb Clay via ffmpeg-user:
>> Dumb ffmpeg question alert:
>>
>> What is a "pad" in the context of an "input pad", an "output pad" and a
>> "filter pad"?
> 
> "input pad" and "output pad" are described in chapter 32:
> https://www.ffmpeg.org/ffmpeg-all.html#Filtergraph-description
> 
> "filter pad"? I don't know


More information about the ffmpeg-user mailing list