![]() ![]() (this has been superseded by a third command in the answer below)īased on second drawtext solution, this version adds the ability to control the fill opacity using standard alpha on fontcolor. The output shows that the colour of the text is being altered by the border even though the fontcolor is the same in both instances of the drawtext filter. ![]() ![]() Video:85kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown My question is whether there is a way to work around this somehow, perhaps using filter_complex to draw the text without a border and then use the overlay filter to somehow draw the text again with a border and comp it over the initial text to just take the border, thereby achieving the same opaque white text with a black border.ĭrawtext=fontfile=/Library/Fonts/Arial.ttf:text=BORDER_OFF: :fontsize=250:x=20:y=20,ĭrawtext=fontfile=/Library/Fonts/Arial.ttf:text=BORDER_ON: :fontsize=250:x=20:y=20+(text_h+10):borderw=3: " \įull output: ffmpeg -f lavfi -i "color=red:size=1920x1080" -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf: :fontsize=250:x=20:y=20:text=BORDER_OFF,drawtext=fontfile=/Library/Fonts/Arial.ttf: :borderw=3: :fontsize=250:x=20:y=20+(text_h+10):text=BORDER_ON" -frames:v 1 output.pngįfmpeg version N-94664-g0821bc4eee-tessus Copyright (c) 2000-2019 the FFmpeg developersīuilt with Apple LLVM version 10.0.1 (clang-1001.0.46.4)Ĭonfiguration: -cc=/usr/bin/clang -prefix=/opt/ffmpeg -extra-version=tessus -enable-avisynth -enable-fontconfig -enable-gpl -enable-libaom -enable-libass -enable-libbluray -enable-libdav1d -enable-libfreetype -enable-libgsm -enable-libmodplug -enable-libmp3lame -enable-libmysofa -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopenh264 -enable-libopenjpeg -enable-libopus -enable-librubberband -enable-libshine -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvmaf -enable-libvo-amrwbenc -enable-libvorbis -enable-libvpx -enable-libwavpack -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxavs -enable-libxvid -enable-libzimg -enable-libzmq -enable-libzvbi -enable-version3 -pkg-config-flags=-static -disable-ffplay However there seems to be a known limitation in the way the filter draws characters that results in the fontcolor alpha not being adhered to when a border is also enabled. Previous Versions # Download Links 3.2.I would like to use the drawtext filter to render a string with semi transparent white text and a black border. Thesaurus only (dictionary is bundled with Aegisub) ![]() All others must be downloaded separately: 3.0 Language To cut down on the download size, the Windows “Full” Install includes only a US English dictionary for the spell checker. The Latest Release version is 3.2.2, released December 7, 2014 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |