I need to show two similar images from a webcam side-by-side.
I can achieve this with this piped command, but it runs with a few seconds latency:
ffmpeg -f dshow -i video="Logi C310 HD WebCam" -filter_complex "[0:v][0:v]hstack=inputs=2[v]" -map "[v]" -f matroska - | ffplay -
I’d prefer to do the same in just ffplay.
I’d also like to have the resulting image cropped to a square size or to the size of the original image (like if the picture from webcam gets divided by half and the halfs took each other places).
What I need in this end is a tool that helps to align the camera parallelly to the captured object, so any wrong angle would be perfectly visible on video if two opposite sides of the picture are placed alongside.
PS. My platform is Windows 11.