You are not logged in.

#1 2023-03-07 07:35:44

xsbee
Member
Registered: 2023-03-07
Posts: 5

No rubberband filter in FFmpeg

Rubberband is one of the most useful filters to change the pitch and tempo and with substantial quality. FFmpeg does not provide its own native or other means of pitch-shifting than to rely on other tools, such as sox or rubberband (cli tool, not library). If I recall correctly, rubberband support was included in previous versions of FFmpeg, then why remove it?

Offline

#2 2023-03-07 08:36:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: No rubberband filter in FFmpeg

Checked a few revs of the ffmpeg package and it was never there from what I'm seeing. If you need it *now* rebuild with --enable-librubberband https://wiki.archlinux.org/title/Arch_Build_System or opt for ffmpeg-full from the AUR or so. If you want to see this mainlined make a low prio bug report feature request.

Online

#3 2023-03-07 10:14:08

xsbee
Member
Registered: 2023-03-07
Posts: 5

Re: No rubberband filter in FFmpeg

I originally brought this issue up, as other distributions such as Debian and Fedora provide librubberband. I tried to opt for ffmpeg-full but it is marked out of date, so I tried with ffmpeg-full-git but apparently due to patching failure, it failed at the prepare() stage.

patching file libavcodec/Makefile
Hunk #1 FAILED at 1096.
1 out of 1 hunk FAILED -- saving rejects to file libavcodec/Makefile.rej
patching file libavcodec/allcodecs.c
Hunk #1 succeeded at 799 (offset 20 lines).
patching file libavcodec/libsvt_vp9.c
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'ffmpeg-full-git-5.2.r109920.gac6eec1fc2-1':
error: packages failed to build: ffmpeg-full-git-5.2.r109920.gac6eec1fc2-1

Offline

#4 2023-03-07 10:18:06

xsbee
Member
Registered: 2023-03-07
Posts: 5

Re: No rubberband filter in FFmpeg

The flag [in ffmpeg-full] is perhaps erroneous as >=6.0 is in the testing repo.

https://aur.archlinux.org/pkgbase/ffmpe … ag-comment

Offline

#5 2023-03-07 10:18:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,420

Re: No rubberband filter in FFmpeg

You should not use -git of ffmpeg unless you absolutely know what you are doing, while ffmpeg-full is marked as "outdated" it is currently in line with the repository version but that is in the process of switching to ffmpeg 6 but that apparently has a few API regressions that need to get patched against beforehand anyway. So that ffmpeg-full is currently "outdated" is more correct with regards to the stable repository it should/would be compatible for.

Ah we coincided, yes that's what will be the case right now.

Last edited by V1del (2023-03-07 10:20:16)

Online

#6 2023-03-07 10:21:23

xsbee
Member
Registered: 2023-03-07
Posts: 5

Re: No rubberband filter in FFmpeg

Oh boy! ffmpeg-full can't find nvcc now.

ERROR: failed checking for nvcc.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'ffmpeg-full-5.1.2-4':
error: packages failed to build: ffmpeg-full-5.1.2-4

Offline

Board footer

Powered by FluxBB