#!/bin/bash

if [[ $1 ==  "" ]]; then
	find . -type f | parallel -j16 $0
else
	br=$(ffprobe -v error -show_entries stream=bit_rate: -of default=noprint_wrappers=1:nokey=1 $1)
	echo $1 $br
fi



#find . -type f | parallel -j16 'file={};echo \$file; br=$(ffprobe -v error -show_entries stream=bit_rate: -of default=noprint_wrappers=1:nokey=1 {}); echo \$file \$br'
