Commands to cut videos in half horizontally or vertically, and rejoin them later
问题 How can I use ffmpeg to cut video in half, vertically or horizontally by resolution; so for a 640 x 480 video, I want to separate that into two halves with a resolution of 320 x 480, or to separate it into two halves horizontally with a resolution of 640 x 240; and afterward, I need to be able to join the separated videos again to make a single video with the original resolution. How can this be done? 回答1: separate into two halves Use the crop filter: horizontal ffmpeg -i input -filter