Id like to create a video C with audio from video A but video from video B. Video A and video B have nearly the same length in seconds.
Since the videos are a couple GBs, I guess it would be slower if I first extract audio from video A, then later merge that audio into video B (I mean, one step should be faster than two steps, right?). However, if this is the only way (extract audio, then merge), then I will do it.
Actually, video B was generated from video A and it took a 4 consecutive days of video processing to generate it (but lost the audio due to a mistake); that is why I am initially seeking a solution to do everything "at once".
ffmpeg -i video -i audio -c copy out.mkv