You may use a different drive, but, you will have to edit the .bat file, and replace every 'C://' with your drive of choice.
Follow these steps if you are on Mac
* Please note, these instructions will require you to work with the command-line terminal. It's very simple - we'll walk you through each step, with images - so please bare with us. *
(1) Open Terminal
On your Mac, click the Launchpad icon in the Dock / or launch 'Spotlight Search', type 'Terminal' in the search field, then click Terminal.
(2) Install homebrew & ffmpeg
(** In case you already have ffmpeg installed on your Mac, skip this step and continue straight to Got ffmpeg - lets extract some audio section)
(2a) Install homebrew
- Copy the following into your Terminal and press 'Enter' afterwards:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- When asked for password - type your computer password (same password used to unlock the screen) and press 'Enter'
- Then, when prompted, press 'Enter' again to approve
- Wait a few minutes, till it's all completed. It will look like the following, and the terminal will be back at the status waiting for your input:
(2b) Install ffmpeg
Once 'homebrew' is installed - type the following in your Terminal:
brew install ffmpeg
(3) Got ffmpeg - lets extract some audio
Open the terminal in the specific folder where your video files are located. One simple way to do that is:
Type (without Enter) cd  (note the 'space' after 'cd') and then
Drag from Finder the folder which contains the video files into the Terminal
Click 'Enter'
You should now see the name of that directory in the new line that the Terminal's caret is on.
In the terminal, copy the following and click 'Enter':
echo "Making speechnotes-output-audio-only directory"
mkdir -p speechnotes-output-audio-only
echo "Success making speechnotes-output-audio-only directory"
COUNTER=0;
echo "Searching for video files in directory"
for input in *.avi *.mp4 *.mpeg *.mov; do
# ffmpeg -i "$input" -vn -acodec copy "speechnotes-output-audio-only/$input"
if [ -f "$input" ]; then
COUNTER=$((COUNTER + 1))
echo "Found and converting $input"
ffmpeg -i "$input" -vn -acodec copy "speechnotes-output-audio-only/$input" -nostdin -loglevel panic
fi
done
echo "Done. Found total $COUNTER Video files in directory"
Now you should have created a folder named 'speechnotes-output-audio-only' where in it are audio-only files. Congrats.
Got more video files to convert in a different directory? Simply repeat Got ffmpeg - lets extract some audio for any directory you need. No need to install brew nor ffmpeg again.
Contact Us
Please contact us for any further inquiries at admin@speechlogger.com