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

CodePudding user response:

refer to the original poster nofireandice response:
a video, specify a rectangular area, and then to the rectangular area video shear, generate a new video. This how to implement? A video of 1920 * 1080, for example, I want to (100100) to the specified coordinates (300, 400) in the area of video shear.

When we do double fisheye panoramic video stitching, cut the fish eye location is first, unfold the joining together again

CodePudding user response:

reference qq_36744243 reply: 3/f
can use ffmpeg filter crop=w=300: h=400: x=100, y=100
use this parameter to run programs ffmpeg can get
  • Related