MagicPodcast/bash_commands/split_channels_to_two_ways.sh

5 lines
140 B
Bash

#!/bin/bash
tmp_dir=$1
both_channels=$2
ffmpeg -i $both_channels -map_channel 0.0.0 $tmp_dir/left.wav -map_channel 0.0.1 $tmp_dir/right.wav