input:
Two audio file, It may be stereo or mono.
output:
- A stereo file, and the stereo FL uses one file all channels, and FR uses other file all channels.
- The total duration is based on the longest file.
- I hope it can be achieved through FFmpeg.
There are four case:
- mono + mono -> stereo
- mono + stereo -> stereo
- stereo + mono -> stereo
- stereo + stereo -> stereo
I hope someone can help me, I am a newbie to FFmpeg.
Best Answer
ffprobe
to determine which audio is shortest.Example:
Also see FFmpeg Wiki: Audio Channels.