Skip to content

Instantly share code, notes, and snippets.

@sshaplygin
Created April 13, 2023 14:06
Show Gist options
  • Select an option

  • Save sshaplygin/ea4af0ea49d8699a1e28d6ef2d2ddf68 to your computer and use it in GitHub Desktop.

Select an option

Save sshaplygin/ea4af0ea49d8699a1e28d6ef2d2ddf68 to your computer and use it in GitHub Desktop.

Revisions

  1. sshaplygin created this gist Apr 13, 2023.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    from mp4 to wav format `ffmpeg -i <infile> -ac 2 -f wav <outfile>`
    join wav files `ffmpeg -i 1.wav -i 1.wav -i 1.wav -i 1.wav \
    -filter_complex '[0:0][1:0][2:0][3:0]concat=n=4:v=0:a=1[out]' \
    -map '[out]' output.wav`