ffm_crop | R Documentation |
Decrease the size of the video's frames by cropping it.
ffm_crop(object, width, height, x = "(in_w-out_w)/2", y = "(in_h-out_h)/2")
object |
An ffmpeg pipeline ( |
width |
The width of the output video (in pixels). Either a positive real number or a string that contains an FFMPEG expression. |
height |
The height of the output video (in pixels). Either a positive real number or a string that contains an FFMPEG expression. |
x |
The horizontal position, in the input video, of the left edge of the
output video (in pixels). Either a positive real number or a string that
contains an FFMPEG expression. (default = |
y |
The vertical position, in the input video, of the top edge of the
output video (in pixels). Either a positive real number or a string that
contains an FFMPEG expression. (default = |
object
but with the added instruction to crop the image(s).
https://ffmpeg.org/ffmpeg-filters.html#toc-crop
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.