foo_23976.wav
, since it's the audio corresponding to the original 23.976fps program.
sox foo_23976.wav foo_24fps.wav speed 1.001
to speed up the audio programsox foo_24fps.wav foo_24fps_L.wav remix 1
to split out the Left channelsox foo_24fps.wav foo_24fps_R.wav remix 2
and the Right channelffmpeg
and sox
# extract stereo audio from .MOV and upsample to 24-bit
ffmpeg -i foo.mov -acodec pcm_s24le foo_23976.wav
# speed up audio to match 23.976-to-24.000fps image speed up
sox foo_23976.wav foo_24fps.wav speed 1.001001
# split out the Left channel
sox foo_24fps.wav foo_24fps_L.wav remix 1
# split out the Right channel
sox foo_24fps.wav foo_24fps_R.wav remix 2
# make a mono mix
sox foo_24fps.wav foo_24fps_mono.wav remix 1,2
# make a mute channel
sox -v 0 foo_24fps_mono.wav foo_24fps_mute.wav
# or this does the same thing
sox foo_24fps_mono.wav foo_24fps_mute.wav vol 0
# get info on a file, useful for getting the number of samples
soxi foo.wav
# note that the following unfortunately returns a "samples read" value that is twice the actual number of samples in the file
sox foo.wav -n stat
/dev/sdb1
/dev/sdb
is a drive and /dev/sdb1
is a partition. You want the partition.
mke2fs -I 128 /dev/sdb1
(Don't use my example /dev/sdb1
but rather your own path from in the step above)sudo tune2fs -l /dev/sda2
is a helpful tool that one can use to confirm the inode size.