The branch, master has been updated
       via  73d411c399df4abe2750b611fc8381979fcbafc6 (commit)
      from  3a0e324ab95d5e1de212b2815b0bf7622f838b3f (commit)


- Log -----------------------------------------------------------------
commit 73d411c399df4abe2750b611fc8381979fcbafc6
Author:     Vittorio Palmisano <[email protected]>
AuthorDate: Fri Aug 29 11:32:20 2025 +0200
Commit:     Leo Izen <[email protected]>
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
-- 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to