FS#80327 - [ffmpeg] 2:6.1-1 drawtext filter not available

Attached to Project: Arch Linux
Opened by Paolo Bacchilega (paolob) - Wednesday, 22 November 2023, 15:17 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

ffmpeg 2:6.1-1 doesn't provide the 'drawtext' filter anymore, to compile this filter you need to add 'harfbuzz' as dependency and configure with --enable-libharfbuzz as stated [here](https://ffmpeg.org/ffmpeg-all.html#drawtext-1)

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/ffmpeg/issues/1
Comment by Deniil (cyberplebeian) - Wednesday, 22 November 2023, 17:12 GMT
Having the same issue, a rebuild to fix filter will be greatly appreciated!
```
ноя 22 20:07:56 okcomputer systemd[1]: Started RTSP to DASH streaming of work.
ноя 22 20:07:56 okcomputer rtsp-dash-stream.sh[574861]: [AVFilterGraph @ 0x55bdbc848740] No such filter: 'drawtext'
ноя 22 20:07:56 okcomputer rtsp-dash-stream.sh[574861]: Failed to set value 'overlay=10:main_h-overlay_h-10,unsharp=3:3:1.5,noise=c0s=80:c0f=t+u,drawtext=font=Bauhaus Md BT:text='%{localtime}':x=80:y=h-line_h-40:fontsize=16:fontcolor=white:shadowx=2:shadowy=2,drawtext=font=Bauhaus Md BT:text='/work':x=80:y=h-line_h-24:fontsize=16:fontcolor=white:shadowx=2:shadowy=2' for option 'filter_complex': Filter not found
ноя 22 20:07:56 okcomputer rtsp-dash-stream.sh[574861]: Error parsing global options: Filter not found
ноя 22 20:07:56 okcomputer systemd[1]: dash-stream@work.service: Main process exited, code=exited, status=8/n/a
ноя 22 20:07:56 okcomputer systemd[1]: dash-stream@work.service: Failed with result 'exit-code'.
```
Comment by Robert Mandic (rmandic) - Saturday, 25 November 2023, 10:45 GMT
Rollback to 6.0.13 on Arch works:

❯ sudo pacman -U /var/cache/pacman/pkg/ffmpeg-2\:6.0-13-x86_64.pkg.tar.zst

However it's not a problem with Arch build.
I tried the official static builds (listed here https://johnvansickle.com/ffmpeg/) and both (6.1 and git) report the same error.

Loading...