SUMMARY This is from a user report here: https://krita-artists.org/t/could-not-render-animation-unknown-error/16129 A Thai user had animation rendering failure when the animation had an audio track on it. This is with krita version 4.4.1 on Windows 10 using the recommended gyan ffmpeg. This seems to have happened because krita used Thai characters as input parameters to ffmpeg. The problem was fixed when the user switched the application language to English. DETAILED DESCRIPTION The Thai user's failed rendering log is attached as Thai-Failed_log_encode.log The failure point says: Applying option ss (set the start time offset) with argument ๐:๐:๐.๐๐๐. Invalid duration specification for ss: ๐:๐:๐.๐๐๐ Note the Thai numeric characters. The problem starts at the begining with the ffmpeg input parameter values: Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '๐:๐:๐.๐๐๐'. Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '๐:๐:๒๑.๐๐๐'. Reading option '-i' ... matched as input url with argument 'C:/Users/User/Downloads/AT-cm_981096862.mp3'. Those inputs are only present if Rendering is done with an audio track. When the Thai user switched the application language to English, the animation with audio rendered correctly. OBSERVED RESULT See Detailed Description and Additional Information EXPECTED RESULT The numeric values passed to ffmpeg should use 'standard' characters. ADDITIONAL INFORMATION There is a complication that I don't understand, as follows: The Thai user Performance settings show the following, as an example: See attachment 'Thai-User-Thai-Settings.png' Note that numeric values use Thai characters but text does not. If I switch my application language from English to Thai: See attachment 'Ahab-Thai-Settings.png' I have some text in Thai characters but numeric values are English/Western. This difference may be due to Windows system level language, or installed language character sets or the fact that I did this on a Linux system with the 4.4.1 appimage.
Created attachment 134369 [details] Thai-Failed_log_encode.log
Created attachment 134370 [details] Thai-User-Thai-Settings
Created attachment 134371 [details] Ahab-Thai-Settings.png
I agreed with the bug report form. Now the animation rendering is working well and no issue, the animation render out both the pictures sources and the audio itself too. The problem is solved
@lolipk: You local situation is now better but I believe that the problemm still exists and has not been solved.
I confirmed the bug report statement
Further information/example: A user here: https://krita-artists.org/t/rendering-with-audio-results-to-error/18874 had the same problem with non-standard characters for the start offset and duration values passed to ffmepeg. Their krita settings were English but their Windows system level settings were not. After changing the Windows level settings to English and restarting their laptop, there was no problem rendering with an audio file.
Git commit 3649c3472860fbfe0cd3a5c2be9b8463a02ceaa5 by Dmitry Kazakov, on behalf of Alvin Wong. Committed on 14/06/2021 at 10:23. Pushed by dkazakov into branch 'master'. Fix video export wrongly using localized toString on QTime M +3 -3 libs/ui/animation/KisVideoSaver.cpp https://invent.kde.org/graphics/krita/commit/3649c3472860fbfe0cd3a5c2be9b8463a02ceaa5