Home > other > If a video shear according to the specified area
If a video shear according to the specified area
Time:12-03
Specify a rectangular area, a video, and then to the rectangular area video shear, generate a new video. This how to implement? For example, a 1920 * 1080 video, I want to (100100) to the specified coordinates (300, 400) video shear area.
CodePudding user response:
This hasn't done Try it from the yuv data processing, according to the width of video in yuv corresponding bytes of data
CodePudding user response:
Data extraction from the corresponding position in the new video
CodePudding user response:
Can use ffmpeg filter crop=w=300: h=400: x=100, y=100
CodePudding user response:
Ffmpeg inside by detailed parameter Settings, please refer to the manual