I have 2 videos of the same resolution, but I need to crop one of them and then merging them side by side, so that general height would be equal of height of non cropped video. I.e. they should look the same size after merge. Just cropped video should look like it zoomed in.
I tried to do that, but uncropped video being cropped during merge.
I cropped like that:
ffmpeg -i L.MOV -filter:v "crop=in_w-28:in_h-28" -c:a copy LC.MOV
Then merge which crops right video:
ffmpeg -i LC.MOV -i R.MOV -filter_complex '[0:v]pad=iw*2:ih[int];[int][1:v]overlay=W/2:0[vid]' -map [vid] -c:v libx264 -crf 23 -preset veryfast LCR.MOV