July 15th, 2005
SMAF-to/from-wav converter
The last few days have been spent scratching my head over the “mmf” files that Linda’s phone (a Samsung X640) seems to be so fond of. They’re ring tone files in Yamaha SMAF format, which you apparently have to sell your soul to get the specs to.
Specs or not, with a little bit of reverse engineering, I managed to concoct a small utility to convert to and from (some of) these SMAF files. Take a look at mmftool.

August 20th, 2007 at 14:22
Vidar,
sorry if I bother, I found your contribution to FFmpeg - SMAF encode/decode. Could you please help me finding correct FFmpeg command for encoding in .mmf format?
I succesfully decoded Yamaha original .mmf to .wav through FFmpeg by using command:
ffmpeg -i input.mmf -ar 8000 output.wav
but for some reason .mmf encoding commands such as:
ffmpeg -i input.wav -ab 64 -ac 1 -f mmf output.mmf
ffmpeg -i input.wav -ab 32 -ac 1 -f mmf output.mmf
ffmpeg -i input.wav -ar 8000 -ab 32 output.mmf
etc., etc.,
create a file which cannot be played in Yamaha MidRadio as original .mmf. Perhaps you know correct encoding command for FFmpeg and input .wav requirments?
Thanks in advance,
Zoran