ffmpeg-cli-wrapper
ffmpeg-cli-wrapper copied to clipboard
How can i Pad Video using this wrapper.
trafficstars
Hi
How can i Pad Video using this wrapper. the ffmpeg command is:
ffmpeg -i <input-file> -filter:v "pad=width=<width>:height=<height>:x=<x>:y=<y>" <output-file>
Thanks
We don't have a -filter:v flag support right now. We do have setComplexVideoFilter(), which would most likely do what you want.
However, you could also use addExtraArgs("-filter:v", "pad=width=<width>:height=<height>:x=<x>:y=<y>").