

Ss offset = frame number divided by FPS of video = the decimal (in milliseconds) ffmpeg needs i.e. $ ffmpeg -ss $1 -i $2 -qmin 1 -q:v 1 -qscale:v 2 -frames:v 1 -huffman optimal $3.jpg Where vf is a custom bash script as follows: You can get the list of installed codecs with:Ĭonvert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:įfmpeg -i input.wav -ac 1 -ab 64000 -ar 22050 output.mp3Ĭonvert any MP3 file to WAV 16khz mono 16bit:įfmpeg -i 111.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wavĬonvert any MP3 file to WAV 20khz mono 16bit for ADDAC WAV Player:įfmpeg -i 111.mp3 -acodec pcm_s16le -ac 1 -ar 22050 out.wavįor i in *.mp3 do ffmpeg -i "$i" -acodec pcm_s16le -ac 1 -ar 22050 "$.mp3" doneĮxtract Single Image from a Video at Specified Frame You can get the list of supported formats with: Minimal example: transcode from MP3 to WMA: Other software seems old and not working on MacOS Catalina at all.Ffmpeg Converting Audio into Different Formats / Sample Rates

And there is a lot of downloads from dubious sources. I've been Googling around but most software seems to be limited use trail-ware that needs payment before it can be used properly. I can setup a VM with Windows or Linux if needed, but I like to avoid that if possible: Our available Macs are aging and not blessed with a lot of RAM. This is a Mac only outfit, but I'm willing to consider Windows or Linux software if there is nothing available for MacOS. Performance (or lack there of) is not a consideration. Typical batch-size would be ideally be 300-400 files in a single run. The ID3 metadata is very important to keep: loosing that during the conversion is NOT acceptable. I'm looking for a MacOS batch-convert utility (command-line only would be ok too) that is free (this is a short on cash non-profit volunteer organization) and that can do the conversion including the ID3 tags in the FLAC files. If I had been there I would have saved everything in both formats from the start.) It is a large audio archive containing 50 years worth of interviews, talks-shows, radio-speeches and monologues belonging to the radio-station I do volunteer work for.Īs of 2017 all new stuff is recorded straight in MP3, but we have a huge library of older analog material that got digitized to FLAC in 2018. I need to convert approximately 15000 FLAC files to MP3 as a one time job.
