I wrote two scripts that split multi channel mp4 files that use ffmpeg chanSplit.sh Splits a mp4 file to a suddirectory (folder) called chanSplit. Before running, you need to define a variable called input. Example : input=myfile.mp4 chanSplitAll.sh Splits all MP4 files in current directory (folder) to a subfolder called chanSplit. You do NOT need to define the input variable as it runs all mp4 files in the directory. Edit: I mentioned earlier you need to set the input variable. That was wrong. This was written for my dash cam which uses mp4 files , has channel 0 for audio, 1 for front and 2 for rear. You will need to change accordingly. The files will need to be copied somewhere in your $PATH and of course you need ffmpeg.