home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 27,756 of 28,835   
   Petter Reinholdtsen to All   
   Bug#1128084: ffmpeg: Enable whisper supp   
   15 Feb 26 19:00:01   
   
   From: pere@hungry.com   
      
   Package: ffmpeg   
   Version: 7:8.0.1-1   
   Tags: patch   
      
   With the introduction of whisper.cpp in Debian, it became possible to   
   enable the Whisper filter in ffmpeg, allowing quick and automatic   
   transcript of audio using GPU backed audio processing.   
      
   Following the recipe available from   
      
   I just successfully was able to use the latest ffmpeg from salsa with   
   the following patch to transcribe the example from that article, ie   
   using this command:   
      
     ffmpeg -i https://github.com/vpalmisano/webrtcperf/releases/do   
   nload/videos-1.0/gvr.mp4 -vn -af "whisper=model=$HOME/models-whi   
   per/ggml-model-q5_0.bin\   
   :language=en\   
   :queue=3\   
   :destination=output.srt\   
   :format=srt" -f null -   
      
   The resulting output.srt contained a sensible transcript of the video.   
      
   Please consider enabling whisper support in the ffmpeg edition provided   
   by Debian.   
      
   diff --git a/debian/control b/debian/control   
   index e0fa35ce..2ecf3219 100644   
   --- a/debian/control   
   +++ b/debian/control   
   @@ -190,6 +190,8 @@ Build-Depends:   
     libzvbi-dev ,   
    # --enable-opencl   
     ocl-icd-opencl-dev | opencl-dev,   
   +# --enable-whisper   
   + libwhisper-dev,   
    # used to detect libraries   
     pkgconf,   
    # HTML documentation   
   diff --git a/debian/rules b/debian/rules   
   index 6b3da34f..a2c128f0 100755   
   --- a/debian/rules   
   +++ b/debian/rules   
   @@ -68,6 +68,7 @@ CONFIG := \   
           --enable-libxml2 \   
           --enable-libxvid \   
           --enable-libzimg \   
   +       --enable-whisper \   
           --enable-openal \   
           --enable-opencl \   
           --enable-opengl   
      
   --   
   Happy hacking   
   Petter Reinholdtsen   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca