I have 1920x1080 YUV video fileam trying to make a pair of 2 videos (side by side) with a 10px white border seperator. I useused the following FFmpeg command to crop 480:500(center aligned),
ffmpeg -f rawvideo -pix_fmt yuv422p -s:v 1920x1080 -r 25 -i input left.yuv -filter:v "crop=480:500:720:290" -crfi 23 outputright.yuv
and it works well.
But when i down-sample the video file from 19820x1080 to 960x540 and then try the same command to crop the video,
ffmpeg -f rawvideo -pix_fmt yuv422pfilter_complex -s"[0:v 960x540 -r 25 -i am_down.yuv -c:v libx264 “crop=4300]pad=iw*2:270ih:215color=white[bg]; [bg][1:135”v:0]overlay=w+10" left-crf 23 outright.yuvYUV
But it is not working.
It gives meBoth of the following error:
Unable to find a suitable output format for '“crop=430:270:215:135”' “crop=430:270:215:135”: Invalid argument
videos duration and rations are same (480x270 and 8 seconds)
Can anyone help me?