[ffmpeg] branch master updated. 73d411c399 avfilter/af_whisper: fix srt file format
The branch, master has been updated via 73d411c399df4abe2750b611fc8381979fcbafc6 (commit) from 3a0e324ab95d5e1de212b2815b0bf7622f838b3f (commit) - Log ----------------------------------------------------------------- commit 73d411c399df4abe2750b611fc8381979fcbafc6 Author: Vittorio Palmisano <vpalmisano@gmail.com> AuthorDate: Fri Aug 29 11:32:20 2025 +0200 Commit: Leo Izen <leo.izen@gmail.com> CommitDate: Sat Aug 30 14:30:51 2025 +0000 avfilter/af_whisper: fix srt file format The SRT file format requires commas in the time string, not periods. diff --git a/libavfilter/af_whisper.c b/libavfilter/af_whisper.c index 385180b4ed..663fe446bb 100644 --- a/libavfilter/af_whisper.c +++ b/libavfilter/af_whisper.c @@ -246,7 +246,7 @@ static void run_transcription(AVFilterContext *ctx, AVFrame *frame, int samples) if (!av_strcasecmp(wctx->format, "srt")) { buf = av_asprintf - ("%d\n%02ld:%02ld:%02ld.%03ld --> %02ld:%02ld:%02ld.%03ld\n%s\n\n", + ("%d\n%02ld:%02ld:%02ld,%03ld --> %02ld:%02ld:%02ld,%03ld\n%s\n\n", wctx->index, start_t / 3600000, (start_t / 60000) % 60, (start_t / 1000) % 60, start_t % 1000, end_t / 3600000, (end_t / 60000) % 60, ----------------------------------------------------------------------- Summary of changes: libavfilter/af_whisper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive --
participants (1)
-
ffmpeg-git@ffmpeg.org