#229·Whisper

No timestamps in Export-SubRip

Author: kasyukCreated Nov 18, 2024Updated Apr 8, 2026

Hi. I wrote this code in PowerShell, but the output I get has no timestamp in the .srt files

Import-Module WhisperPS -DisableNameChecking
$Model = Import-WhisperModel X:\Whisper\model-base.bin
$Files = dir .\* *.mp4 | Transcribe-File $Model
foreach ($i in $Files) { $result= $i.SourceName + ".srt"; $i | Export-SubRip $result; }

In the file I have 00:00:00,000 --> 00:00:00,000 everywhere {2189AC3D-7F1A-416D-A3E0-590E0C2C0129} What I do wrong?