Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ function scanLoudnessStream(
const LayoutRegex = /Output #0, null[\S\s]+Stream #0:0: Audio: [\w]+, [\d]+ Hz, (?<layout>\w+),/

const LoudnessRegex =
/Integrated loudness:\s+I:\s+(?<integrated>[\d-.,]+)\s+LUFS\s+Threshold:\s+(?<threshold>[\d-.,]+)\s+LUFS\s+Loudness range:\s+LRA:\s+(?<lra>[\d-.,]+)\s+LU\s+Threshold:\s+(?<rangeThreshold>[\d-.,]+)\s+LUFS\s+LRA low:\s+(?<lraLow>[\d-.,]+)\s+LUFS\s+LRA high:\s+(?<lraHigh>[\d-.,]+)\s+LUFS\s+True peak:\s+Peak:\s+(?<truePeak>[\d-.,]+)\s+dBFS\s*$/i
/Integrated loudness:\s+I:\s+(?<integrated>[\d-.,]+)\s+LUFS\s+Threshold:\s+(?<threshold>[\d-.,]+)\s+LUFS\s+Loudness range:\s+LRA:\s+(?<lra>[\d-.,]+)\s+LU\s+Threshold:\s+(?<rangeThreshold>[\d-.,]+)\s+LUFS\s+LRA low:\s+(?<lraLow>[\d-.,]+)\s+LUFS\s+LRA high:\s+(?<lraHigh>[\d-.,]+)\s+LUFS\s+True peak:\s+Peak:\s+(?<truePeak>[\d-.,]+)\s+dBFS/i

const loudnessRes = LoudnessRegex.exec(stderr)
const layoutRes = LayoutRegex.exec(stderr)
Expand Down
16 changes: 16 additions & 0 deletions tests/ffmpegReleases.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
{
"id": "6.1",
"url": "https://github.com/CasparCG/dependencies/releases/download/ffmpeg-binaries/ffmpeg-6.1-amd64-static.tar.xz"
},
{
"id": "7.0.2",
"url": "https://github.com/CasparCG/dependencies/releases/download/ffmpeg-binaries/ffmpeg-7.0.2-amd64-static.tar.xz"
}
],
"win32-x64": [
Expand All @@ -33,6 +37,18 @@
{
"id": "6.1",
"url": "https://github.com/CasparCG/dependencies/releases/download/ffmpeg-binaries/ffmpeg-6.1-essentials_build.zip"
},
{
"id": "7.0",
"url": "https://github.com/CasparCG/dependencies/releases/download/ffmpeg-binaries/ffmpeg-7.0-essentials_build.zip"
},
{
"id": "7.1.1",
"url": "https://github.com/CasparCG/dependencies/releases/download/ffmpeg-binaries/ffmpeg-7.1.1-essentials_build.zip"
},
{
"id": "8.0.1",
"url": "https://github.com/CasparCG/dependencies/releases/download/ffmpeg-binaries/ffmpeg-8.0.1-essentials_build.zip"
}
]
}