Suppose I have two video files A and B.
Now I want to convert A to the same format (i.e. same container, same audio and video codec), same bitrate, size etc. as B.
Is there a way to do this automatically (i.e. without extracting the information manually and giving it manually as input parameters) using a command line tool (or even a GUI tool)?