I have been working on a video processing tool that takes each frame from an input video and saves the result as a series of images. So, in essence, if my video has a length of 5 minutes, and has 25 fps, I will get 7500 individual frames.
What I want is then to put this back into a video format, but at the same time also add the audio track from the original source. Is this possible with ffmpeg? Also, would it be possible to automatically determine the fps on the original video source and then use this as fps value for ffmpeg for the video + audio track in the new video file?