#!/bin/bash ffmpeg -loglevel error -threads 4 -f alsa -probesize 10M -channels 2 -sample_rate 48000 -thread_queue_size 2048 -i default /tmp/raw.wav