2

How can I clip a video spatially using FFMPEG, with no border added, and no quality degradation? So basically I just need to split the video into 4 parts to separate the videos, like the frame below:

enter image description here

5
  • 1
    What I see is tiling a video in a 2x2 layout. If that's what you want, it's not possible without re-encoding.
    – Gyan
    Jun 17, 2016 at 6:32
  • I see. So is there a way to do that at least without quality degradations?
    – Tina J
    Jun 17, 2016 at 14:25
  • 1
    @Mulvya could be done using HEVC tiles + some encoding constraints. Which is for sure not possible in this case but just wanted to mention this. Jun 20, 2016 at 18:29
  • re-encoding is fine! How can I use a tile command?
    – Tina J
    Jun 20, 2016 at 18:33
  • I just don't want to decrease quality or get a huge file size-wise!
    – Tina J
    Jun 20, 2016 at 18:33

1 Answer 1

1

I found an answer which worked perfectly for me, and the quality is almost intact:

ffmpeg -i input_320x240.avi -vf crop=<w>:<h>:<x>:<y> output_300x220.avi

w = Output width

h = Output height

x = X co-ordinate of output image in the input image

y = Y co-ordinate of output image in the input image

2
  • Obviously I, and others, have misinterpreted what you actually wanted to do in your question.
    – llogan
    Jun 21, 2016 at 0:28
  • That's fine. Probably I was not clear enough.
    – Tina J
    Jun 21, 2016 at 0:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .