Want to add border to video like this
i already tried using ffmpeg not working correctly
"ffmpeg -i input.avi -vf pad=w:h:x:y:black output.avi"
"w" is the width of your border, "h" is the height of your border, and "x" and "y" are the border's origin coordinates.
can anyone suggest the width,height,x and y value please
FFmpeg has the drawbox filter... Just replace the desired width and height here down:
ffmpeg -i input.avi -vf "drawbox= : x=0 : y=0 : w=100 : h=100 : color=green" output.avi
You can find all the options in the filter page (change color, thickness, etc)
http://ffmpeg.org/ffmpeg-filters.html#drawbox
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With