media scwrypts v5 refactor

This commit is contained in:
2025-02-19 21:58:15 -07:00
parent a3410d9b15
commit a20d23ad5e
25 changed files with 868 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#####################################################################
DEPENDENCIES+=(ffprobe)
#####################################################################
${scwryptsmodule}() {
local FILENAME="$1"
[ "${FILENAME}" ] && [ -f "${FILENAME}" ] \
|| ERROR "invalid or missing file '${FILENAME}'" \
|| return 1
ffprobe \
-v quiet \
-show_entries format=duration \
-of default=noprint_wrappers=1:nokey=1 \
-i "${FILENAME}" \
;
}