These are chat archives for WritingMinds/ffmpeg-android-java

1st
Nov 2016
JunfeiW
@JunfeiW
Nov 01 2016 15:39
Hello, when I using subtitles filter, there are errors from log, Cannot load default config file. Then how can I solve this problem. I did google a lot, but only find answer for ubuntu, mac ..
Any help is appreciated
D/FFmpegManager: onProgress: Fontconfig error: Cannot load default config file
D/FFmpegManager: onProgress: [Parsed_subtitles_0 @ 0xacae8f30] No usable fontconfig configuration file found, using fallback.
D/FFmpegManager: onProgress: Fontconfig error: Cannot load default config file
D/FFmpegManager: onProgress: [Parsed_subtitles_0 @ 0xacae8f30] No valid fontconfig configuration found!
D/FFmpegManager: onProgress: [Parsed_subtitles_0 @ 0xacae8f30] can't find selected font provider
JunfeiW
@JunfeiW
Nov 01 2016 16:50
java.io.IOException: Error running exec(). Command: [FONTCONFIG_FILE=/storage/emulated/0/Android/data/com.test.abc/files/srt/fonts.conf /data/data/com.test.abc/files/ffmpeg, -y, -i, /storage/emulated/0/Android/data/com.test.abc/files/video/La leggenda del pianista sull'oceano/57bd5f5a8ac24700631918df_ff.mp4, -vf, ass=/storage/emulated/0/Android/data/com.test.abc/files/srt/test.ass, /storage/emulated/0/Android/data/com.test.abc/files/video/La leggenda del pianista sull'oceano/57bd5f5a8ac24700631918df_final.mp4] Working Directory: null Environment: null
if I specified FONTCONFIG_FILE storage/emulated/0/Android/data/com.test.abc/files/srt/fonts.conf
it will notified me this exception
from the command, I think, it should be FONTCONFIG_FILE=/storage/emulated/0/Android/data/com.test.abc/files/srt/fonts.conf /data/data/com.test.abc/files/ffmpeg, should be [FONTCONFIG_FILE=/storage/emulated/0/Android/data/com.test.abc/files/srt/fonts.conf, /data/data/com.test.abc/files/ffmpeg ... ]