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
What I do wrong?
Source: Const-me/Whisper