Burning subtitles hangs on Android #6
Labels
android
Affect Android platform
development-branch
Affects development branch
library
Affects the library
mobile-ffmpeg
Originates from MobileFFmpeg
race-condition
Happens because of a race condition
When the following command is used to burn subtitles on Android, the execution does not return and hangs forever.
-y -i .../video.mp4 -vf subtitles=.../subtitle.srt:force_style='FontName=MyFontName' -c:v mpeg4 .../video-with-subtitles.mp4
This behaviour can be seen on the test application as well. Sometimes, after the test-application is upgraded on a device this issue happens. Restarting the app doesn't fix the issue. The only way to fix this is to uninstall the test app and install it again.
Both LTS and Main releases are affected from this. mobile-ffmpeg also has the same issue. It was seen on most
mobile-ffmpeg
releases sincev3.1
.Test application use
setFontDirectory
method before burning subtitles. It can be related to the issue.These are the latest log lines printed.
The following logs belong to a similar run where burning does not fail.
Further tests show that
<application-home>/cache/.ffmpeg-kit
folder which is registered as font directory using thesetFontDirectory
method have afonts.conf
file inside as it should be when this issue occurs in the test application.And these are the logs printed on application start-up. Nothing is wrong here as well.
The text was updated successfully, but these errors were encountered: