Last active
August 8, 2022 15:31
-
-
Save simlated/ea8cf7230f551b0e88e10d4656370753 to your computer and use it in GitHub Desktop.
Print csv with name of mp4 files recursively found in folder and their duration calculated with ffprobe (you need it installed)
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
find . -type f -name "*.mp4" -exec printf "%s," {} \; -exec ffprobe -v quiet -of csv=p=0 -show_entries format=duration {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to Mr. @Ostico