0

I just want to crop 2 pixels (Top) to get identical black bars (now is 138 TOP and 140 BOTTOM) but without re-encoding. I think it is possible with FFmpeg but I'm not sure. I want to do this with one H264 video (m2ts from blu-ray).

1
  • This is impossible without re-encoding. Chillax. No-one will die if you re-encode your video.
    – stib
    Jul 21, 2021 at 2:01

1 Answer 1

1

You can use the h264_metadata bitstream filter.

ffmpeg -i in -c copy -bsf:v h264_metadata=crop_top=140 out

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.