x and y specify the top left corner of the output rectangle.out_h is the height of the output rectangle.out_w is the width of the output rectangle.In recent versions of FFmpeg, use the crop filter: ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4 Many thanks to slhck, Jonathan., Anton Rudeshko, LordNeckbeard and future maintainers. Note: The original answer was posted in this link: How can I crop a video with ffmpeg? which originally posted by me and edited several times in order to update it to the newest options in the most recent versions of ffmpeg. Something like this should work with the proper parameters for each case:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |