#!/bin/bash ffmpeg -i $1 -an -vframes 1 -f null - -v 48 2>&1 | grep -oE "crf=[0-9\.]+"