ffmpeg-cli-wrapper icon indicating copy to clipboard operation
ffmpeg-cli-wrapper copied to clipboard

How can i Pad Video using this wrapper.

Open MachineIntelligence6 opened this issue 8 years ago • 1 comments
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

MachineIntelligence6 avatar Aug 22 '17 00:08 MachineIntelligence6

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>").

bramp avatar Aug 26 '17 19:08 bramp