Created
February 26, 2026 15:51
-
-
Save mibmo/39b6e62aeec95536814b472e0f57e787 to your computer and use it in GitHub Desktop.
Get duration of FLAC file
This file contains hidden or 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
| ffprobe -show_streams -select_streams a -v quiet "input.flac" | grep -oP '^duration=\K[0-9.]+$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment