Created
April 5, 2020 04:44
-
-
Save jfeilbach/5094351d08c9ac1824aafdee64f2f3c0 to your computer and use it in GitHub Desktop.
get bitrate and convert to kilobits per second
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val=$(ffprobe -v error -show_entries format=bit_rate -of default=noprint_wrappers=1:nokey=1 input.mkv) | |
echo "$(($val / 1000))" kb/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment