Me and my friend each took a video of us playing online with each other, and now I want to make a single video comparing them side by side.
I’ve done this before, but I’ve never needed to deal with the audio. What I want to do is take the audio stream from one clip, and the audio stream from the other clip, and have them in separate streams in the new clip, similar to the way DVD videos have two separate streams for each language.
This is what I tried using ffmpeg:
ffmpeg -i "Fraps 2014-11-14 07-51-04-70_cut.mp4" -vf "movie='FFsplit-141106-222552_cut.mp4' [in1]; [in]fps=fps=30, setpts=PTS-STARTPTS, scale=1680:1040, pad=iw*2:ih:iw:0[in0]; [in0][in1] overlay=0:0 [out]" input_sidebyside.mp4
As far as video goes, everything works, the videos are in sync. But only the left audio stream is copied. The
-map doesn’t seem to recognize the movie filter’s audio at all. I tried
-map 1:a:0 but it tells me that stream doesn’t exist.
Is it possible map audio from the overlay filter in ffmpeg?