Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg 6.1 requires build options '--enable-libharfbuzz' and '--enable-libfontconfig' to enable 'drawtext' filter #52730

Open
abhocetabhac opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@abhocetabhac
Copy link

Is this a new report?

Yes

System Info

Void 6.11.3_1 x86_64-musl

Package(s) Affected

ffmpeg6-6.1.2_2

Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://ffmpeg.org/ffmpeg-all.html#drawtext-1
AnimMouse/ffmpeg-stable-autobuild#129
federicocarboni/setup-ffmpeg#15

Expected behaviour

ffmpeg -h filter=drawtext
...
Filter drawtext
...

Actual behaviour

ffmpeg -h filter=drawtext
...
Unknown filter 'drawtext'.

Steps to reproduce

  1. ffmpeg -i input.mkv -vf "drawtext=fontfile='/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf': text='Hello World': fontcolor=white: fontsize=24: box=1: [email protected]: x=10: y=10" output.mp4
  2. ffmpeg -i input.mkv -vf "drawtext=fontfile='/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf': text='Hello World': fontcolor=white: fontsize=24: box=1: [email protected]: x=10: y=10" output.mp4
    ffmpeg version 6.1.2 Copyright (c) 2000-2024 the FFmpeg developers
    built with gcc 13.2.0 (GCC)
    configuration: --prefix=/usr --disable-debug --enable-gpl --enable-gnutls --disable-stripping --enable-libcdio --enable-version3 --enable-runtime-cpudetect --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-shared --enable-static --enable-libxcb --enable-libpulse --enable-libfreetype --enable-libmodplug --enable-libspeex --enable-libcelt --enable-libass --enable-libopus --enable-librtmp --enable-libjack --disable-libopencore_amrnb --disable-libopencore_amrwb --disable-libopenjpeg --enable-libbluray --enable-postproc --enable-opencl --enable-libvmaf --enable-libx265 --enable-libv4l2 --enable-libaom --enable-libbs2b --enable-libvidstab --enable-libdav1d --enable-libsrt --enable-librist --enable-libwebp --enable-vulkan --enable-libdrm --enable-libsvtav1 --enable-vaapi --enable-vdpau --disable-libzimg --disable-libmysofa --enable-libvpl --enable-nvenc --enable-nvdec
    libavutil 58. 29.100 / 58. 29.100
    libavcodec 60. 31.102 / 60. 31.102
    libavformat 60. 16.100 / 60. 16.100
    libavdevice 60. 3.100 / 60. 3.100
    libavfilter 9. 12.100 / 9. 12.100
    libswscale 7. 5.100 / 7. 5.100
    libswresample 4. 12.100 / 4. 12.100
    libpostproc 57. 3.100 / 57. 3.100
    Input #0, matroska,webm, from 'input.mkv':
    Metadata:
    title : Session streamed by TP-LINK
    COMMENT : h264_hd.sdp
    ENCODER : Lavf60.16.100
    Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720, 27.33 fps, 27.33 tbr, 1k tbn
    Stream #0:1: Audio: aac (LC), 8000 Hz, mono, fltp
    Metadata:
    ENCODER : Lavc60.31.102 aac
    [AVFilterGraph @ 0x7f2c063ff580] No such filter: 'drawtext'
    [vost#0:0/libx264 @ 0x7f2c082ce5c0] Error initializing a simple filtergraph
    Error opening output file output.mp4.
    Error opening output files: Filter not found
@abhocetabhac abhocetabhac added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

1 participant