[FFmpeg-trac] #9227(avfilter:new): Cannot use any fonts including system fonts

FFmpeg trac at avcodec.org
Sat May 8 15:05:16 EEST 2021


#9227: Cannot use any fonts including system fonts
-------------------------------------+-------------------------------------
             Reporter:  Jefferson    |                     Type:  defect
  Villasan Josol                     |
               Status:  new          |                 Priority:  important
            Component:  avfilter     |                  Version:  git-
             Keywords:  Incorrect    |  master
  fonts                              |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 {{{
 ffmpeg -y -i "/storage/0040-18A0/Music Videos on YouTube/TO be synced/ICSM
 dance.mkv" -c:s copy -q:s 0 -c:a copy -c:d copy -c:v mpeg2video -q:v 0
 -map_metadata 0 -vf
 "scale=1920:-1,colorspace=all=bt2020,ass=/storage/0040-18A0/Music Videos
 on YouTube/TO be synced/ICSM
 dance.ass:fontsdir=/system/fonts/DroidSans.ttf" -bufsize 960M -maxrate
 480M -r:v 30 -r:a 30 -t 30 -movflags +write_colr "/storage/0040-18A0/Music
 Videos on YouTube/TO be synced/30s samples.ts"
 }}}

 Can anyone help me how to use system fonts on ffmpeg Termux? Whatever I
 try is only giving me DroidSansFallback. Here is another one that ffmpeg
 says....



 {{{
 [Parsed_ass_2 @ 0xa51dd240] fontselect: ("/system/fonts/DroidSans.ttf",
 400, 0) -> /system/fonts/Lohit-Punjabi.ttf, 0, Lohit-Punjabi
 [Parsed_ass_2 @ 0xa51dd240] fontselect: (DroidSansChinese, 400, 0) ->
 /system/fonts/Lohit-Punjabi.ttf, 0, Lohit-Punjabi
 [Parsed_ass_2 @ 0xa51dd240] Glyph 0x41 not found, selecting one more font
 for (DroidSansChinese, 16, 400)
 [Parsed_ass_2 @ 0xa51dd240] fontselect: (DroidSansChinese, 400, 0) ->
 /system/fonts/DroidSansFallback.ttf, 0, DroidSansFallback
 }}}

 Thanks in advance for those who can help me!
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9227>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list