I have two folders with the exact same number of images: "folder1" and "folder2".
I want to take these images, convert them into two videos and have them rendered in the same video file. Think of it like a comparison video that's rendered side-by-side in the same file.
I can use ffmpeg to turn the still images into videos, but this will have one file for each video:
ffmpeg -start_number 0 -i "folder1/image-%06d.png" -c:v libx264 -vf "format=yuv420p" video1.mp4
ffmpeg -start_number 0 -i "folder2/image-%06d.png" -c:v libx264 -vf "format=yuv420p" video2.mp4
If I want to have both videos rendered side-by-side in the same file I would have to re-encode them, which means quality loss.
Is there a way to do this without the quality loss from reencoding?
Or are there other tools other than ffmpeg that can do this work?