From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] Whisper audio filter
Date: Thu, 10 Jul 2025 13:31:34 +0200
Message-ID: <20250710113134.GO29660@pb2> (raw)
In-Reply-To: <CADv15W9uJYpiPMUW=AknUCqaZd1oa6T=L7zNEJWtmY0-GNU5Ug@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1390 bytes --]
Hi
On Thu, Jul 10, 2025 at 10:34:50AM +0200, Vittorio Palmisano wrote:
> Thanks Michael, I will try to answer your comments.
>
> > > +ffmpeg -i input.mp4 -vn -af "aformat=sample_rates=16000:channel_layouts=mono,whisper=
> >
> > Is there a reason why we convert to 16khz mono here ?
>
> It is the only format supported by the whisper.cpp library.
then af_whisper should take care of this automatically.
without the user having to add this convertion stuff manually
[...]
>
> > libavfilter/af_whisper.c:75:49: error: parameter name omitted
> > 75 | static void cb_log_disable(enum ggml_log_level, const char *, void *) {}
> > | ^~~~~~~~~~~~
> > libavfilter/af_whisper.c:75:63:
>
> I don't see this error using the gcc13 compiler. Do you use a
> different compiler or some other flags?
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
>
> > > + wctx->audio_buffer_fill_size = 0;
> > > +
> > > + wctx->next_pts = AV_NOPTS_VALUE;
> > > +
> > > + wctx->avio_context = NULL;
> >
> > arent things already initialized to 0 ?
>
> Yes, maybe we can keep the AV_NOPTS_VALUE assignment (it is not zero).
yes
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The worst form of inequality is to try to make unequal things equal.
-- Aristotle
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2025-07-10 11:31 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 7:23 Vittorio Palmisano
2025-07-09 13:36 ` Marvin Scholz
2025-07-09 15:24 ` Zhao Zhili
2025-07-10 8:43 ` Vittorio Palmisano
2025-07-10 9:47 ` Zhao Zhili
2025-07-10 12:41 ` Michael Niedermayer
2025-07-09 23:37 ` Michael Niedermayer
2025-07-10 8:34 ` Vittorio Palmisano
2025-07-10 10:05 ` Marvin Scholz
2025-07-10 10:20 ` Vittorio Palmisano
2025-07-10 10:25 ` Vittorio Palmisano
2025-07-10 12:20 ` Michael Niedermayer
2025-07-11 8:41 ` Vittorio Palmisano
2025-07-11 9:07 ` Vittorio Palmisano
2025-07-11 19:05 ` Marvin Scholz
2025-07-12 0:03 ` Michael Niedermayer
2025-07-13 11:16 ` Vittorio Palmisano
2025-07-14 10:34 ` Vittorio Palmisano
2025-07-14 21:47 ` Michael Niedermayer
2025-07-15 7:44 ` Vittorio Palmisano
2025-07-17 8:51 ` Vittorio Palmisano
2025-07-19 0:15 ` Michael Niedermayer
2025-07-19 12:55 ` [FFmpeg-devel] [PATCH] libavfilter: " Vittorio Palmisano
2025-07-20 1:22 ` Michael Niedermayer
2025-07-23 8:43 ` Vittorio Palmisano
2025-07-23 10:19 ` Vittorio Palmisano
2025-07-23 10:51 ` Vittorio Palmisano
[not found] ` <d444b062-15c5-ebc5-ef6d-c12185b69f10@scateu.me>
2025-08-29 8:54 ` [FFmpeg-devel] " Vittorio Palmisano via ffmpeg-devel
2025-07-19 12:58 ` [FFmpeg-devel] [PATCH] " Vittorio Palmisano
2025-07-18 23:24 ` Michael Niedermayer
2025-07-10 11:31 ` Michael Niedermayer [this message]
2025-07-10 12:07 ` Nicolas George
2025-07-10 12:10 ` Nicolas George
2025-07-09 23:41 ` Michael Niedermayer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250710113134.GO29660@pb2 \
--to=michael@niedermayer.cc \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git