ffmpeg -i "input.mkv" -map 0:0 -c:v copy -ac 1 mono.mkv
WARNING: Any out of phase stereo will cancel out.
The following filtergraph can be used to bring out of phase stereo in phase prior to downmixing:
-af "asplit[a],aphasemeter=video=0,ametadata=select:key=lavfi.aphasemeter.phase:value=-0.005:function=less,pan=1c|c0=c0,aresample=async=1:first_pts=0,[a]amix"
ffmpeg -i stereo.wav -filter_complex "[0:a]channelsplit=channel_layout=stereo:channels=FR[right]" -map "[right]" front_right.wav
NOTE: This uses the channelsplit audio filter to include only the right channel.
ffmpeg -layouts
ffmpeg -i "input.mkv" -map 0:0 -c:v copy -af "pan=mono|c0=c1" "mono.mkv"
NOTE: This uses the pan audio filter to include only the right channel.