I’ve never done it, but when I did a bit of googling, I think you want to build an AVISYNTH script with this:
https://forum.doom9.org/showthread.php?t=170004
MVCSource appears to allow you to decode either stream, at which point you can either write out to an AVI File, or encode with x264 etc.
Got it, thank you!