Shared blackdetect + silencedetect library for ChannelFlow. It finds commercial-break spots and names chapters break, break 2, break 3, … in gaps after Jellyfin introskip intro / preview / recap and before outro. About one break every 10 minutes (file length), at most one per 10-minute window, with a user min gap. If that count is short, a second pass uses blackdetect only (no audio).
ChannelFlow-Server and Commercial Spot Tester both reference this project.
- Server: github.com/binarygeek119/ChannelFlow
- Client: github.com/binarygeek119/ChannelFlow-Client
- Discord: discord.gg/w7GK7Zufts
Requires ffmpeg and ffprobe at runtime (same binaries ChannelFlow already locates). Target framework is net10.0.
dotnet build ChannelFlow.CommercialDetect.csproj -c ReleaseWindows and Linux builds are on Releases (ChannelFlow.CommercialDetect-win-x64.zip and ChannelFlow.CommercialDetect-linux-x64.tar.gz). To publish locally:
bash scripts/publish.sh all