Skip to content

Instantly share code, notes, and snippets.

@Roman-Port
Created December 3, 2023 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Roman-Port/f0bc984150a75b76031569412d9345f7 to your computer and use it in GitHub Desktop.
Save Roman-Port/f0bc984150a75b76031569412d9345f7 to your computer and use it in GitHub Desktop.
FFMPEG create stereo difference
ffmpeg -i input.wav -filter_complex "[0:a]channelsplit=channel_layout=stereo[l][r];[r]volume=volume=-1[ri];[l][ri]amix=inputs=2[diff]" -map "[diff]" diff.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment