Skip to content

Instantly share code, notes, and snippets.

@mike2718
Created January 7, 2025 11:28
Show Gist options
  • Select an option

  • Save mike2718/2e1718afee81a078ceef7dda12a5d80b to your computer and use it in GitHub Desktop.

Select an option

Save mike2718/2e1718afee81a078ceef7dda12a5d80b to your computer and use it in GitHub Desktop.
Convert custom format used by MMSSTV (http://hamsoft.ca/pages/mmsstv.php) to wave files.
#!/usr/bin/env bash
[ $# -eq 0 ] && { echo "No input file given"; exit 1; }
[ ! -f "$1" ] && { echo "File $1 not found"; exit 1; }
tail -c +5 "$1" > /tmp/data.raw
ffmpeg -f s16le -ac 1 -ar 11025 -i /tmp/data.raw -y "${1%.mmv}.wav"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment