![]() My example: -vf "subtitles=/storage/emulated/0/0.srt:fontsdir=/storage/emulated/0/fonts/:force_style='FontName=Droid Sans,Fontsize=12'" vf "subtitles=(srt location):fontsdir=(folder location of font):force_style='FontName=Droid Sans,Fontsize=12'" Then fontsdir needs the folder location of our font file and not the actual font file too Thanks in advance for those who can help me!Īfter some testing i found out that the FontName was Droid Sans and not the actual font location. Video:24095kB audio:469kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.197927% fontselect: (DroidSansChinese, 400, 0) -> /system/fonts/DroidSansFallback.ttf, 0, DroidSansFallback ![]() Glyph 0x41 not found, selecting one more font for (DroidSansChinese, 16, 400) fontselect: (DroidSansChinese, 400, 0) -> /system/fonts/Lohit-Punjabi.ttf, 0, Lohit-Punjabi ![]() fontselect: ("/system/fonts/DroidSans.ttf", 400, 0) -> /system/fonts/Lohit-Punjabi.ttf, 0, Lohit-Punjabi #Mkv2mp4 utf8 to captions how toStream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, bt2020nc/bt2020/bt2020-10, progressive), 1920x1080, q=2-31, 200 kb/s, 30 fps, 90k tbn (default)Ĭpb: bitrate max/min/avg: 480000000 buffer size: 960000000 vbv_delay: N/AĬan anyone help me how to use system fonts on ffmpeg Termux? Whatever I try is only giving me DroidSansFallback. Output #0, mpegts, to '/storage/0040-18A0/Music Videos on YouTube/TO be synced/30s samples.ts': Added subtitle file: '/storage/0040-18A0/Music Videos on YouTube/TO be synced/ICSM dance.ass' (2 styles, 58 events) Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.1 (COMPLEX) #Mkv2mp4 utf8 to captions isoHANDLER_NAME : ISO Media file produced by Google Inc. Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp (default) ![]() 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" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |