To crop the bottom right quarter: ffmpeg -i in.mp4 -filter:v "crop=in_w/2:in_h/2:in_w/2:in_h/2" -c:a copy out.mp4 The audio is stream copied in this example, so re-encoding is avoided.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.Use the crop filter: ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |