Control: tags -1 wontfix

On 2026-02-15 18:49:10 +0100, Petter Reinholdtsen wrote:
> 
> 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
> <URL: 
> https://medium.com/@vpalmisano/run-whisper-audio-transcriptions-with-one-ffmpeg-command-c6ecda51901f
>  >
> 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/download/videos-1.0/gvr.mp4 
> -vn -af "whisper=model=$HOME/models-whisper/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.

Not at the moment. whisper.cpp and its (build-)dependencies are not in
testing and looking at their current state they are not ready to be
promoted to key packages.

Cheers

> 
> 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 <!pkg.ffmpeg.stage1>,
>  # --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
> 

-- 
Sebastian Ramacher

Reply via email to