Bug 441435 - Can't add ffmpeg as path
Summary: Can't add ffmpeg as path
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers/Recorder (show other bugs)
Version: 5.0.0-beta1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression, release_blocker
: 442859 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-08-23 15:44 UTC by Weny
Modified: 2021-09-24 09:18 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Weny 2021-08-23 15:44:06 UTC
STEPS TO REPRODUCE
1. recorder export option
2. click to icon folder 'setup ffmpeg executable location'
3. add ffmpeg

OBSERVED RESULT
FFMpeg path its still saying "[NOT FOUND]" when I'm trying to add it and I can't export my timelapse.

SOFTWARE/OS VERSIONS
Windows: 10 Pro 20H2(OS Build 19042.1165)

ADDITIONAL INFORMATION 
FFMpeg version: ffmpeg-2021-08-18-git-dbe40478e2-full_build
Comment 1 Ahab Greybeard 2021-08-26 10:33:33 UTC
I can confirm this for the 5.0.0-beta1 and the 5.0.0-prealpha (git 2ce5348f1c) .zip packages on Windows 10.

The Linux appimages do not have this problem.

The problem also affects animation Rendering.

The Recorder docker Export window will not accept the ffmpeg.exe file.

The animation Render window will accept the ffmpeg.exe location but it does not remember it the next time you try to Render, even in the same session.

The kritarc paramater ExportConfiguration-ANIMATION EXPORT does have the correct location for ffmpeg.exe after previous use of 4.4.7 for Rendering.
The kritarc parameter ffmpegLocation is empty.
Comment 2 Halla Rempt 2021-08-26 11:28:50 UTC
Emmet, Eoin: can you take a look?
Comment 3 Know Zero 2021-08-26 15:44:54 UTC
(In reply to Halla Rempt from comment #2)
> Emmet, Eoin: can you take a look?

Halla, it seems the issue is the QProcess gets killed before returning data back when running Krita.exe and using Gyan's package on Windows (Running it as krita.com works fine)

The solution is changing the timeout from 1000 to 5000 to give it more time.

That would be in:
krita/libs/ui/animation/KisFFMpegWrapper.cpp

on both line 409 and 423
Comment 4 Eoin O'Neill 2021-08-26 20:06:13 UTC
I'll go ahead and change the default timing to see if we can get this working consistently for users. 

5 seconds might be overkill since it might make the window slightly less responsive, but I rather it be less responsive and work.

FWIW, to users curious, we have to run FFMPEG once to get details about the version being used which should help with debugging in the future. We can also verify the user is using a supported FFMPEG version by querying this information.
Comment 5 Eoin O'Neill 2021-08-26 20:24:00 UTC
Git commit 123c302c722376870ed6def5a873b046576882b8 by Eoin O'Neill.
Committed on 26/08/2021 at 20:22.
Pushed by eoinoneill into branch 'master'.

Increase timeout time for FFMPEG infromation query call.

M  +3    -2    libs/ui/animation/KisFFMpegWrapper.cpp

https://invent.kde.org/graphics/krita/commit/123c302c722376870ed6def5a873b046576882b8
Comment 6 Eoin O'Neill 2021-08-26 20:25:32 UTC
I spent time getting a windows build up and running. For whatever reason, I couldn't reproduce this on my machine even with insanely low timeout values. It works as expected.

I've increased the timeout value as KnowZero has suggested. Please reopen and assign me again if the issue continues on tomorrow's nightly build.
Comment 7 Know Zero 2021-08-26 20:43:49 UTC
(In reply to Eoin O'Neill from comment #6)
> I spent time getting a windows build up and running. For whatever reason, I
> couldn't reproduce this on my machine even with insanely low timeout values.
> It works as expected.
> 
> I've increased the timeout value as KnowZero has suggested. Please reopen
> and assign me again if the issue continues on tomorrow's nightly build.

Eoin, when you tested, did you try the Gyan build mentioned? Cause I was able to replicate the issue in my VM.

To summarize:
At 1000 timeout:
BtbN build - no issue
Gyan build - issue when using krita.exe, no issue when using krita.com

Maybe some sort of startup delay or delay on getting the entire buffer?

Since I can replicate it, I can look into it in more detail if the 5000ms timeout isn't ideal.
Comment 8 Know Zero 2021-08-27 00:41:36 UTC
I think I figured out the underlining issue. It wasn't a problem of gyan build or btbn builds. But simply me using 4.4 vs snapshot builds.

And the culprit is Windows Defender. My guess what is going on is that since snapshot builds are always new, Windows Defender spends time carefully scanning them. The 4.4 builds on the other hands are known as many more people use them, so Windows Defender just lets them through with less caution.

If I exclude the directory of the snapshot ffmpeg versions, it loads up quickly just fine just like the 4.4 versions.

I am not sure why the com load faster than from the exe though, maybe windows defender is more picky if the caller is an exe or maybe some other underlining thing at play.
Comment 9 Halla Rempt 2021-08-27 07:34:02 UTC
Git commit 49208f9db3119fc64c1de2026ad02cf018a92798 by Halla Rempt, on behalf of Eoin O'Neill.
Committed on 27/08/2021 at 07:33.
Pushed by rempt into branch 'krita/5.0'.

Increase timeout time for FFMPEG infromation query call.
(cherry picked from commit 123c302c722376870ed6def5a873b046576882b8)

M  +3    -2    libs/ui/animation/KisFFMpegWrapper.cpp

https://invent.kde.org/graphics/krita/commit/49208f9db3119fc64c1de2026ad02cf018a92798
Comment 10 Ahab Greybeard 2021-08-27 15:42:44 UTC
With the 5.1.0-prealpha (git 6ce9aad) portable .zip on Windows 10:

The animation Rendering aspect has now been fixed with the Gyan git-essentials and the 4.4 release-essentials.

However, the first time I tried it with rendering, I had a crash
I've pasted the crash log at the end of this comment.

The Recorder Export still doesn't work. It says "[NOT FOUND]" for FFMpeg and will not accept the ffmpeg.exe when it is selected.

My System Information (not as much as it used to be for some reason):
====================================================
Krita

 Version: 5.1.0-prealpha (git 6ce9aad)
 Languages: en_US, en
 Hidpi: false

Qt

  Version (compiled): 5.12.11
  Version (loaded): 5.12.11

OS Information

  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.19043
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10

OpenGL Info
 
  Vendor:  "Google Inc." 
  Renderer:  "ANGLE (NVIDIA GeForce GTX 750 Ti Direct3D11 vs_5_0 ps_5_0)" 
  Version:  "OpenGL ES 3.0 (ANGLE 2.1.0.57ea533f79a7)" 
  Shading language:  "OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.57ea533f79a7)" 
  Requested format:  QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CompatibilityProfile) 
  Current format:    QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 0, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
     Version: 3.0
     Supports deprecated functions false 
     is OpenGL ES: true 

QPA OpenGL Detection Info 
  supportsDesktopGL: true 
  supportsAngleD3D11: true 
  isQtPreferAngle: true 
===================================================

The CRASH LOG from the first run crash:


Error occurred on Friday, August 27, 2021 at 16:06:42.

krita.exe caused an Access Violation at location 000000FE9399B040 DEP violation at location 000000FE9399B040.

AddrPC           Params
000000FE9399B040 0000000000000000 00000329000003DC 0000000000000000
00007FFE9494A03A 0000000019043100 00007FFE9389D12A 0000000000000000  Qt5Core.dll!0x22a03a QObject::event+0xda
00007FFE938B63BC 0000000000000001 0000000011231C30 00007FFE94B8E8F8  Qt5Widgets.dll!0x463bc QWidget::event+0x3dc
00007FFE9399AAA6 00000000005FFB80 0000000000000000 0000000000000001  Qt5Widgets.dll!0x12aaa6 QLineEdit::event+0x96
00007FFE93877BEC 000000000F3CF1E0 00007FFECD59E3A7 0000000022966B60  Qt5Widgets.dll!0x7bec QApplicationPrivate::notify_helper+0x9c
00007FFE9387EB9E 0000000000000001 00007FFE9474259F 000000000FE565D0  Qt5Widgets.dll!0xeb9e QApplication::notify+0x31e
00007FFE923909C6 0000000011231F90 00007FFECE3D47B1 00000000001A0000  libkritaui.dll!0x3809c6 KisApplication::notify+0x16
00007FFE9491D708 00000000005FC1F8 0000002F00000058 00007FFECBAE1404  Qt5Core.dll!0x1fd708 QCoreApplication::notifyInternal2+0x198
00007FFE94923D39 000000000126BA10 0000000000000000 0000000000000000  Qt5Core.dll!0x203d39 QCoreApplicationPrivate::sendPostedEvents+0x199
000000006A8FF49E 0000000000000401 00000000000E070C 0000000000348000  qwindows.dll!0x7f49e qt_plugin_instance+0x2a3e
00007FFE949787AA 0000000000000000 0000000000000001 0000000000000001  Qt5Core.dll!0x2587aa QEventDispatcherWin32Private::sendTimerEvent+0x60a
00007FFECD58E858 00000000029701C0 00007FFE949782D0 00000000000E070C  USER32.dll!0xe858 UserCallWinProcCheckWow+0x2f8
00007FFECD58E299 00007FFE949782D0 00000000005FC660 0000000000000000  USER32.dll!0xe299 DispatchMessageWorker+0x249
00007FFE94977C4B 0000000002983060 0000000000000024 0000000002966090  Qt5Core.dll!0x257c4b QEventDispatcherWin32::processEvents+0x5cb
000000006A8FF485 0000000000000080 0000000000000014 000000001A6F2170  qwindows.dll!0x7f485 qt_plugin_instance+0x2a25
00007FFE9491BF2F 000000000295B400 000000000B98DD90 000000001A6EDC90  Qt5Core.dll!0x1fbf2f QEventLoop::exec+0x13f
00007FFE949251A7 00007FFE947C9970 00007FFEAE6F18C0 0000000000000008  Qt5Core.dll!0x2051a7 QCoreApplication::exec+0x77
00007FFE965B513C 0000000000000001 00000000026B3460 0000000140007970  krita.dll!0x513c krita_main+0x247c
00000001400013C7 0000000000000000 0000000000000000 0000000000000000  krita.exe!0x13c7 __tmainCRTStartup+0x247
00000001400014CB 0000000000000000 0000000000000000 0000000000000000  krita.exe!0x14cb WinMainCRTStartup+0x1b
00007FFECCE87034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!0x17034 BaseThreadInitThunk+0x14
00007FFECE402651 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!0x52651 RtlUserThreadStart+0x21

0000000140000000-0000000140048000 krita.exe   	5.1.0.0
00007FFECE3B0000-00007FFECE5A5000 ntdll.dll   	6.2.19041.1110
00007FFECCE70000-00007FFECCF2D000 KERNEL32.DLL	6.2.19041.1151
00007FFECC020000-00007FFECC2E9000 KERNELBASE.dll	6.2.19041.1151
00007FFEC9380000-00007FFEC9410000 apphelp.dll 	6.2.19041.928
00007FFECC900000-00007FFECC99E000 msvcrt.dll  	7.0.19041.546
00007FFE965B0000-00007FFE96C54000 krita.dll
00007FFEB26D0000-00007FFEB278E000 libkritaglobal.dll
00007FFE95FA0000-00007FFE965A6000 libkritaimage.dll
00007FFE92010000-00007FFE928D1000 libkritaui.dll
00007FFEB1F30000-00007FFEB201D000 libkritaresources.dll
0000000061440000-000000006145A000 libgcc_s_seh-1.dll
00007FFECC440000-00007FFECC46A000 GDI32.dll   	6.2.19041.746
00007FFECBAE0000-00007FFECBB02000 win32u.dll  	6.2.19041.1151
00007FFECBC60000-00007FFECBD6B000 gdi32full.dll	6.2.19041.1110
00007FFEB3DD0000-00007FFEB3E33000 libKF5ConfigCore.dll
000000006FC40000-000000006FDA5000 libstdc++-6.dll
00007FFECBB10000-00007FFECBBAD000 msvcp_win.dll	6.2.19041.789
00007FFECD580000-00007FFECD720000 USER32.dll  	6.2.19041.1151
00007FFECBF20000-00007FFECC020000 ucrtbase.dll	6.2.19041.789
00007FFEB3130000-00007FFEB3187000 libKF5I18n.dll
00007FFE94720000-00007FFE94D4E000 Qt5Core.dll 	5.12.11.0
00007FFECC540000-00007FFECC5EC000 ADVAPI32.dll	6.2.19041.1052
00007FFE93870000-00007FFE93DDE000 Qt5Widgets.dll	5.12.11.0
00007FFE919E0000-00007FFE92002000 Qt5Gui.dll  	5.12.11.0
00007FFECC9A0000-00007FFECCA3B000 sechost.dll 	6.2.19041.906
00007FFECCA40000-00007FFECCB6A000 ole32.dll   	6.2.19041.746
00007FFECC7D0000-00007FFECC8FA000 RPCRT4.dll  	6.2.19041.1081
00007FFECCF30000-00007FFECD285000 combase.dll 	6.2.19041.1081
00007FFECD720000-00007FFECDE5F000 SHELL32.dll 	6.2.19041.1151
00007FFEC7160000-00007FFEC716E000 libkritaversion.dll
00007FFECCE00000-00007FFECCE6B000 WS2_32.dll  	6.2.19041.546
00007FFEB30D0000-00007FFEB310B000 Qt5Xml.dll  	5.12.11.0
00007FFEB47B0000-00007FFEB47CF000 libkritacommand.dll
00007FFEB3090000-00007FFEB30C8000 libkritametadata.dll
00007FFE956D0000-00007FFE95A02000 libkritapigment.dll
00007FFEB2E00000-00007FFEB2E25000 libkritaplugin.dll
00007FFEB1BD0000-00007FFEB1C3C000 libkritapsdutils.dll
00007FFE9BF30000-00007FFE9C08F000 libkritawidgetutils.dll
0000000064940000-0000000064955000 libwinpthread-1.dll	1.0.0.0
00007FFE96DF0000-00007FFE96F87000 libfftw3.dll
00007FFEB2680000-00007FFEB26CE000 libHalf-2_5.dll
00007FFEB4750000-00007FFEB476D000 libkritastore.dll
00007FFEB1B30000-00007FFEB1BC6000 libKF5CoreAddons.dll
00007FFEC16E0000-00007FFEC16EE000 libkritacolor.dll
00007FFEB2550000-00007FFEB2598000 Qt5Sql.dll  	5.12.11.0
00007FFE95DA0000-00007FFE95F99000 libkritaflake.dll
00007FFEB02D0000-00007FFEB02F1000 libkritaimpex.dll
00007FFEB17A0000-00007FFEB17D3000 libquazip5.dll
00007FFE9C9C0000-00007FFE9CA26000 libkritalibbrush.dll
00007FFEA5F50000-00007FFEA5F8B000 libkritaresourcewidgets.dll
00007FFE9C680000-00007FFE9C765000 libkritawidgets.dll
00007FFE91760000-00007FFE919D6000 libexiv2.dll
00007FFE9CFF0000-00007FFE9D02C000 libKF5Completion.dll
00007FFEA5A70000-00007FFEA5A99000 libKF5ConfigGui.dll
00007FFECCB70000-00007FFECCB78000 PSAPI.DLL   	6.2.19041.546
00007FFE9BF00000-00007FFE9BF2A000 libKF5GuiAddons.dll
00007FFE9A820000-00007FFE9A85D000 libKF5ItemViews.dll
00007FFE9A3F0000-00007FFE9A519000 libKF5WidgetsAddons.dll
00007FFE9A560000-00007FFE9A59E000 libpng16.dll
00007FFEBF9A0000-00007FFEBF9B0000 Qt5Concurrent.dll	5.12.11.0
00007FFE96CF0000-00007FFE96DE3000 Qt5Multimedia.dll	5.12.11.0
00007FFE95540000-00007FFE956CD000 Qt5Network.dll	5.12.11.0
00007FFE96C90000-00007FFE96CE5000 Qt5Svg.dll  	5.12.11.0
00007FFECBD70000-00007FFECBECF000 CRYPT32.dll 	6.2.19041.844
00007FFEB3D80000-00007FFEB3D9F000 intl.dll    	0.19.0.0
00007FFEC9830000-00007FFEC985F000 dwmapi.dll  	6.2.19041.746
00007FFEC9550000-00007FFEC95EE000 UxTheme.dll 	6.2.19041.1081
00007FFEB6C20000-00007FFEB6C3D000 MPR.dll     	6.2.19041.546
00007FFEB6A90000-00007FFEB6AA8000 NETAPI32.dll	6.2.19041.546
00007FFECB9E0000-00007FFECBA0E000 USERENV.dll 	6.2.19041.572
00007FFEC59B0000-00007FFEC59BA000 VERSION.dll 	6.2.19041.546
00007FFEC1A80000-00007FFEC1AA7000 WINMM.dll   	6.2.19041.546
00007FFEB2E50000-00007FFEB2E70000 libzlib.dll 	1.2.11.0
00007FFE9A3C0000-00007FFE9A3ED000 libKF5WindowSystem.dll
00007FFE95D40000-00007FFE95D98000 Qt5PrintSupport.dll	5.12.11.0
00007FFECD290000-00007FFECD36A000 comdlg32.dll	6.2.19041.906
00007FFECCC00000-00007FFECCCAE000 shcore.dll  	6.2.19041.1023
00007FFECC710000-00007FFECC765000 SHLWAPI.dll 	6.2.19041.1023
00007FFE95D00000-00007FFE95D36000 libexpat.dll
00007FFEAEBD0000-00007FFEAEBE2000 iconv.dll
00007FFECAF60000-00007FFECB02C000 DNSAPI.dll  	6.2.19041.1151
00007FFECAF20000-00007FFECAF5B000 IPHLPAPI.DLL	6.2.19041.546
00007FFE90150000-00007FFE90409000 libcrypto-1_1-x64.dll	1.1.1.9
00007FFE95AD0000-00007FFE95B5E000 libssl-1_1-x64.dll	1.1.1.9
00007FFEB7B60000-00007FFEB7C10000 COMCTL32.dll	5.82.19041.1110
00007FFEB8250000-00007FFEB82DE000 WINSPOOL.DRV	6.2.19041.1023
00007FFECB490000-00007FFECB49C000 CRYPTBASE.DLL	6.2.19041.546
00007FFECB080000-00007FFECB08C000 NETUTILS.DLL	6.2.19041.546
00007FFECB030000-00007FFECB072000 LOGONCLI.DLL	6.2.19041.610
00007FFEBE810000-00007FFEBE838000 SRVCLI.DLL  	6.2.19041.546
00007FFEBF0D0000-00007FFEBF0E9000 SAMCLI.DLL  	6.2.19041.546
00007FFECC410000-00007FFECC440000 IMM32.DLL   	6.2.19041.546
00007FFECC380000-00007FFECC403000 bcryptPrimitives.dll	6.2.19041.1023
00007FFECE2E0000-00007FFECE2E8000 NSI.dll     	6.2.19041.610
00007FFECBA20000-00007FFECBA3F000 profapi.dll 	6.2.19041.844
00007FFEC9C10000-00007FFECA3A0000 windows.storage.dll	6.2.19041.1151
00007FFECB540000-00007FFECB56C000 Wldp.dll    	6.2.19041.662
000000006A880000-000000006AA36000 qwindows.dll	5.12.11.0
00007FFECC470000-00007FFECC53D000 OLEAUT32.dll	6.2.19041.985
00007FFEC7830000-00007FFEC7844000 WTSAPI32.dll	6.2.19041.546
00007FFEC9A10000-00007FFEC9A22000 kernel.appcore.dll	6.2.19041.546
00007FFEC1310000-00007FFEC14DE000 d3d9.dll    	6.2.19041.928
00007FFECB6C0000-00007FFECB6D2000 msasn1.dll  	6.2.19041.546
00007FFEC5950000-00007FFEC5981000 cryptnet.dll	6.2.19041.906
00007FFECC2F0000-00007FFECC350000 WINTRUST.DLL	6.2.19041.1151
00007FFECE350000-00007FFECE36D000 imagehlp.dll	6.2.19041.546
00007FFECB4A0000-00007FFECB4B8000 CRYPTSP.dll 	6.2.19041.546
00007FFECAB50000-00007FFECAB84000 rsaenh.dll  	6.2.19041.1052
00007FFECC350000-00007FFECC377000 bcrypt.dll  	6.2.19041.1023
00007FFECC5F0000-00007FFECC705000 MSCTF.dll   	6.2.19041.1081
00007FFE8E600000-00007FFE8E725000 opengl32.dll	6.2.19041.1081
00007FFE95CD0000-00007FFE95CFC000 GLU32.dll   	6.2.19041.1081
00007FFECCD50000-00007FFECCDF9000 clbcatq.dll 	2001.12.10941.16384
00007FFE8BC60000-00007FFE8E5F9000 nvoglv64.dll	27.21.14.5671
00007FFECDE60000-00007FFECE2D2000 SETUPAPI.dll	6.2.19041.1151
00007FFECBED0000-00007FFECBF1E000 cfgmgr32.dll	6.2.19041.1151
00007FFECB880000-00007FFECB8B4000 DEVOBJ.dll  	6.2.19041.1151
00007FFECA7E0000-00007FFECA813000 ntmarta.dll 	6.2.19041.546
00007FFEC3B90000-00007FFEC3BCB000 dxcore.dll  	6.2.19041.546
00007FFECB320000-00007FFECB36B000 powrprof.dll	6.2.19041.546
00007FFECB2A0000-00007FFECB2B2000 UMPDC.dll
00007FFECAE90000-00007FFECAEEA000 WINSTA.dll  	6.2.19041.546
00007FFEB96D0000-00007FFEB96E0000 libEGL.DLL  	5.12.11.0
00007FFE8FD70000-00007FFE90149000 libGLESv2.dll	5.12.11.0
00007FFE8FB20000-00007FFE8FD67000 wintab32.dll	1.0.5.10
00007FFEA4B50000-00007FFEA4DC2000 Wacom_Tablet.dll	6.3.42.2
00007FFECA3E0000-00007FFECA4D4000 dxgi.dll    	6.2.19041.964
00007FFEC7850000-00007FFEC7AB4000 d3d11.dll   	6.2.19041.746
00007FFEC8780000-00007FFEC8966000 dcomp.dll   	6.2.19041.1023
00007FFEC36A0000-00007FFEC37A2000 nvldumdx.dll	27.21.14.5671
00007FFE9D920000-00007FFEA03D8000 nvwgf2umx.dll	27.21.14.5671
000000006CC40000-000000006CC74000 qwindowsvistastyle.dll	5.12.11.0
0000000070700000-0000000070714000 qsvgicon.dll	5.12.11.0
00007FFEAD2D0000-00007FFEAD30E000 dataexchange.dll	6.2.19041.1151
00007FFEC63F0000-00007FFEC65F1000 twinapi.appcore.dll	6.2.19041.964
00007FFEAE6F0000-00007FFEAE701000 exchndl.dll 	0.8.2.0
00007FFE95A60000-00007FFE95AC2000 mgwhelp.dll 	0.8.2.0
00007FFE8F990000-00007FFE8FB1F000 dbghelp.dll 	6.3.9600.17298
00007FFEC1AB0000-00007FFEC1D33000 dwrite.dll  	6.2.19041.1165
00007FFE9CFD0000-00007FFE9CFEA000 kimg_hdr.dll
00007FFE9C660000-00007FFE9C671000 kimg_kra.dll
00007FFE95C80000-00007FFE95CC2000 libKF5Archive.dll
0000000063CC0000-0000000063CED000 liblzma.dll 	5.2.5.0
00007FFE9A8A0000-00007FFE9A8B1000 kimg_ora.dll
00007FFE96FE0000-00007FFE96FF3000 kimg_pcx.dll
00007FFE94FA0000-00007FFE94FB3000 kimg_pic.dll
00007FFE94F80000-00007FFE94F91000 kimg_psd.dll
00007FFE94F60000-00007FFE94F72000 kimg_ras.dll
00007FFE94F40000-00007FFE94F54000 kimg_rgb.dll
00007FFE94F20000-00007FFE94F31000 kimg_tga.dll
00007FFE94EC0000-00007FFE94EDE000 kimg_xcf.dll
0000000061F00000-0000000061F13000 qgif.dll    	5.12.11.0
000000006C600000-000000006C615000 qicns.dll   	5.12.11.0
000000006E840000-000000006E853000 qico.dll    	5.12.11.0
00000000626C0000-000000006272E000 qjpeg.dll   	5.12.11.0
0000000061B00000-0000000061B11000 qsvg.dll    	5.12.11.0
000000006CF00000-000000006CF14000 qtiff.dll   	5.12.11.0
00007FFE94E40000-00007FFE94EB7000 libtiff.dll
00007FFE94690000-00007FFE94718000 libjpeg-62.dll
0000000066AC0000-0000000066AD1000 qwbmp.dll   	5.12.11.0
00000000675C0000-0000000067652000 qwebp.dll   	5.12.11.0
00007FFEC3910000-00007FFEC3A09000 textinputframework.dll	6.2.19041.1151
00007FFEC8CF0000-00007FFEC904E000 CoreUIComponents.dll	6.2.19041.546
00007FFEC9050000-00007FFEC9142000 CoreMessaging.dll	6.2.19041.746
00007FFEC8620000-00007FFEC8774000 wintypes.dll	6.2.19041.1081
00007FFEB7ED0000-00007FFEB7F36000 Oleacc.dll  	7.2.19041.746
00007FFEB06D0000-00007FFEB09C6000 UIAutomationCore.dll	7.2.19041.1023
00007FFEC76D0000-00007FFEC77C6000 PROPSYS.dll 	7.0.19041.1023
00007FFECB8F0000-00007FFECB992000 sxs.dll     	6.2.19041.546
00007FFE94E20000-00007FFE94E35000 krita_shape_image.dll
00007FFE941C0000-00007FFE94219000 krita_shape_paths.dll
00007FFE8ED60000-00007FFE8F981000 kritalcmsengine.dll
00007FFE941A0000-00007FFE941B9000 liblcms2_fast_float.dll
00007FFE93F20000-00007FFE93F78000 liblcms2.dll
00007FFE93830000-00007FFE9386A000 krita_colorspaces_extensions.dll
00007FFE93F00000-00007FFE93F18000 kritaasccdl.dll
00007FFE91720000-00007FFE91753000 kritablurfilter.dll
00007FFE916D0000-00007FFE9171C000 kritacolorsfilters.dll
00007FFE93810000-00007FFE93829000 kritaconvertheighttonormalmap.dll
00007FFE916B0000-00007FFE916C5000 kritaconvolutionfilters.dll
00007FFE8ED40000-00007FFE8ED54000 kritadodgeburn.dll
00007FFE8ED20000-00007FFE8ED39000 kritaedgedetection.dll
00007FFE8ED00000-00007FFE8ED13000 kritaembossfilter.dll
00007FFE8ECE0000-00007FFE8ECF4000 kritaexample.dll
00007FFE8ECC0000-00007FFE8ECDA000 kritaextensioncolorsfilters.dll
00007FFE8ECA0000-00007FFE8ECB9000 kritafastcolortransferfilter.dll
00007FFE8EC70000-00007FFE8EC95000 kritagaussianhighpassfilter.dll
00007FFE8EC40000-00007FFE8EC62000 kritagradientmap.dll
00007FFE8EC00000-00007FFE8EC33000 kritahalftone.dll
00007FFE8EBD0000-00007FFE8EBFB000 kritaimageenhancement.dll
00007FFE8EBB0000-00007FFE8EBCD000 kritaindexcolors.dll
00007FFE8EB90000-00007FFE8EBA9000 kritalevelfilter.dll
00007FFE8EB70000-00007FFE8EB89000 kritanoisefilter.dll
00007FFE8EB50000-00007FFE8EB66000 kritanormalize.dll
00007FFE8EB30000-00007FFE8EB47000 kritaoilpaintfilter.dll
00007FFE8EB00000-00007FFE8EB23000 kritapalettize.dll
00007FFE8EAD0000-00007FFE8EAF5000 kritaphongbumpmap.dll
00007FFE8EAB0000-00007FFE8EAC7000 kritapixelizefilter.dll
00007FFE8EA90000-00007FFE8EAA7000 kritaposterize.dll
00007FFE8EA70000-00007FFE8EA84000 kritaraindropsfilter.dll
00007FFE8EA50000-00007FFE8EA69000 kritarandompickfilter.dll
00007FFE8EA30000-00007FFE8EA47000 kritaroundcornersfilter.dll
00007FFE8EA10000-00007FFE8EA25000 kritasmalltilesfilter.dll
00007FFE8E9F0000-00007FFE8EA0A000 kritathreshold.dll
00007FFE8E9C0000-00007FFE8E9E3000 kritaunsharpfilter.dll
00007FFE8E9A0000-00007FFE8E9BB000 kritawavefilter.dll
00007FFE8E980000-00007FFE8E998000 kritacolorgenerator.dll
00007FFE8E950000-00007FFE8E978000 kritagradientgenerator.dll
00007FFE8E920000-00007FFE8E944000 kritamultigridpatterngenerator.dll
00007FFE8E8F0000-00007FFE8E912000 kritapatterngenerator.dll
00007FFE8E8A0000-00007FFE8E8E5000 kritascreentonegenerator.dll
00007FFE8E7C0000-00007FFE8E89A000 kritaseexprgenerator.dll
00007FFE8E7A0000-00007FFE8E7BE000 kritasimplexnoisegenerator.dll
00007FFE8E740000-00007FFE8E79F000 kritacolorsmudgepaintop.dll
00007FFE8BB20000-00007FFE8BC5B000 libkritalibpaintop.dll
00007FFE8BAF0000-00007FFE8BB18000 kritacurvepaintop.dll
00007FFE8BA80000-00007FFE8BAE4000 kritadefaultpaintops.dll
00007FFE8BA40000-00007FFE8BA77000 kritadeformpaintop.dll
00007FFE8BA10000-00007FFE8BA3D000 kritaexperimentpaintop.dll
00007FFE8B9E0000-00007FFE8BA0A000 kritafilterop.dll
00007FFE8B9B0000-00007FFE8B9D6000 kritagridpaintop.dll
00007FFE8B970000-00007FFE8B9A4000 kritahairypaintop.dll
00007FFE8B930000-00007FFE8B969000 kritahatchingpaintop.dll
00007FFE8B8C0000-00007FFE8B92C000 kritamypaintop.dll
00007FFE8B890000-00007FFE8B8B2000 libmypaint.dll
00007FFE8B870000-00007FFE8B88C000 libjson-c.dll
00007FFE8B840000-00007FFE8B868000 kritaparticlepaintop.dll
00007FFE8B810000-00007FFE8B837000 kritaroundmarkerpaintop.dll
00007FFE8B7E0000-00007FFE8B80E000 kritasketchpaintop.dll
00007FFE8B7A0000-00007FFE8B7DF000 kritaspraypaintop.dll
00007FFE8B770000-00007FFE8B79E000 kritatangentnormalpaintop.dll
00007FFE8B710000-00007FFE8B762000 krita_flaketools.dll
00007FFE8B6E0000-00007FFE8B70C000 krita_karbontools.dll
00007FFE8B6A0000-00007FFE8B6DB000 krita_tool_svgtext.dll
00007FFE8AEA0000-00007FFE8AEF5000 kritaassistanttool.dll
00007FFE8A610000-00007FFE8A6A2000 kritadefaulttools.dll
00007FFE8B680000-00007FFE8B69B000 libkritabasicflakes.dll
00007FFEB5D50000-00007FFEB5D60000 libboost_system-mgw73-mt-1_61.dll
00007FFE8A570000-00007FFE8A605000 kritaselectiontools.dll
00007FFE8AE70000-00007FFE8AE9E000 kritatoolSmartPatch.dll
00007FFE8AE40000-00007FFE8AE6F000 kritatoolcrop.dll
00007FFE8B660000-00007FFE8B678000 kritatooldyna.dll
00007FFE8A540000-00007FFE8A567000 kritatoollazybrush.dll
00007FFE8A520000-00007FFE8A537000 kritatoolpolygon.dll
00007FFE8A500000-00007FFE8A516000 kritatoolpolyline.dll
00007FFE8A3D0000-00007FFE8A4FF000 kritatooltransform.dll
00007FFE8A310000-00007FFE8A3C8000 kritaanimationdocker.dll
00007FFE8A2F0000-00007FFE8A309000 kritaarrangedocker.dll
00007FFE8A2B0000-00007FFE8A2E1000 kritaartisticcolorselector.dll
00007FFE8A280000-00007FFE8A2A3000 kritachanneldocker.dll
00007FFE8A210000-00007FFE8A275000 kritacolorselectorng.dll
00007FFE8A1E0000-00007FFE8A204000 kritacompositiondocker.dll
00007FFE8A1C0000-00007FFE8A1D6000 kritadigitalmixer.dll
00007FFE8A190000-00007FFE8A1B6000 kritagamutmask.dll
00007FFE8A170000-00007FFE8A18E000 kritagriddocker.dll
00007FFE8A150000-00007FFE8A16B000 kritahistogramdocker.dll
00007FFE8A130000-00007FFE8A150000 kritahistorydocker.dll
00007FFE8A0E0000-00007FFE8A124000 kritalayerdocker.dll
00007FFE8A0C0000-00007FFE8A0DA000 kritalogdocker.dll
00007FFE8A090000-00007FFE8A0B9000 kritalutdocker.dll
00007FFE89F30000-00007FFE8A082000 libOpenColorIO.dll
00007FFE89F10000-00007FFE89F2F000 kritaoverviewdocker.dll
00007FFE89EF0000-00007FFE89F0C000 kritapalettedocker.dll
00007FFE89ED0000-00007FFE89EE3000 kritapatterndocker.dll
00007FFE89EB0000-00007FFE89EC4000 kritapresetdocker.dll
00007FFE89E90000-00007FFE89EA8000 kritapresethistory.dll
00007FFE89E40000-00007FFE89E89000 kritarecorderdocker.dll
00007FFE89E10000-00007FFE89E31000 kritasmallcolorselector.dll
00007FFE89DF0000-00007FFE89E0D000 kritasnapshotdocker.dll
00007FFE89DD0000-00007FFE89DEC000 kritaspecificcolorselector.dll
00007FFE89D70000-00007FFE89DC6000 kritastoryboarddocker.dll
00007FFE89D50000-00007FFE89D68000 kritasvgcollectiondocker.dll
00007FFE89D30000-00007FFE89D4C000 kritatasksetdocker.dll
00007FFE89D10000-00007FFE89D2E000 kritatouchdocker.dll
00007FFE89CF0000-00007FFE89D09000 Qt5QuickWidgets.dll	5.12.11.0
00007FFE89BF0000-00007FFE89CE8000 libkritaqml.dll
00007FFE897F0000-00007FFE89BE8000 Qt5Qml.dll  	5.12.11.0
00007FFE89400000-00007FFE897EF000 Qt5Quick.dll	5.12.11.0
000000006D9C0000-000000006DACD000 qsqlite.dll 	5.12.11.0
0000000067580000-00000000675A2000 qgenericbearer.dll	5.12.11.0
00007FFEC5990000-00007FFEC59A7000 dhcpcsvc6.DLL	6.2.19041.546
00007FFEC55E0000-00007FFEC55FD000 dhcpcsvc.DLL	6.2.19041.546
00007FFEACC20000-00007FFEACC44000 edputil.dll 	6.2.19041.546
00007FFEB2250000-00007FFEB2268000 kritabuginfo.dll
00007FFEB2230000-00007FFEB224C000 kritaclonesarray.dll
00007FFEB2200000-00007FFEB2221000 kritacolorrange.dll
00007FFEB21E0000-00007FFEB21FA000 kritacolorspaceconversion.dll
00007FFEB21C0000-00007FFEB21DF000 kritadbexplorer.dll
00007FFEB21A0000-00007FFEB21BF000 kritaimagesplit.dll
00007FFEB2180000-00007FFEB2195000 kritalayergroupswitcher.dll
00007FFEB2150000-00007FFEB2172000 kritalayersplit.dll
00007FFEB2120000-00007FFEB214C000 kritametadataeditor.dll
00007FFEB2100000-00007FFEB211C000 kritamodifyselection.dll
00007FFEB20D0000-00007FFEB20F2000 kritaoffsetimage.dll
00007FFEB20B0000-00007FFEB20C2000 kritaqmic.dll
00007FFEB2070000-00007FFEB20B0000 libkritaqmicinterface.dll
00007FFE9C3A0000-00007FFE9C406000 kritaresourcemanager.dll
00007FFEB2050000-00007FFEB206D000 kritarotateimage.dll
00007FFEB2020000-00007FFEB2042000 kritaseparatechannels.dll
00007FFE9C380000-00007FFE9C395000 kritashearimage.dll
00007FFE9C360000-00007FFE9C37B000 kritawaveletdecompose.dll
00007FFE9C330000-00007FFE9C35E000 kritapykrita.dll
00007FFE9C280000-00007FFE9C323000 libkritalibkis.dll
00007FFE88FD0000-00007FFE893FC000 python38.dll	3.8.1150.1013
00007FFE9C260000-00007FFE9C275000 VCRUNTIME140.dll	14.16.27012.6
00007FFE9C1E0000-00007FFE9C25A000 krita.pyd
0000000069180000-00000000691A5000 sip.cp38-win_amd64.pyd
000000006B880000-000000006BB09000 QtCore.pyd
0000000066300000-0000000066597000 QtGui.pyd
0000000065400000-00000000659EE000 QtWidgets.pyd
0000000061640000-0000000061685000 QtXml.pyd
00007FFE9C1C0000-00007FFE9C1D7000 _bz2.pyd    	3.8.1150.1013
00007FFE9C180000-00007FFE9C1C0000 _lzma.pyd   	3.8.1150.1013
00007FFE9C150000-00007FFE9C17D000 _elementtree.pyd	3.8.1150.1013
00007FFE9C110000-00007FFE9C141000 pyexpat.pyd 	3.8.1150.1013
00007FFEC75A0000-00007FFEC75AD000 _hashlib.pyd	3.8.1150.1013
00007FFE88C80000-00007FFE88FC2000 libcrypto-1_1.dll	1.1.1.4
00007FFE9C0F0000-00007FFE9C106000 _socket.pyd 	3.8.1150.1013
00007FFEB5B60000-00007FFEB5B69000 select.pyd  	3.8.1150.1013
00007FFE9C0D0000-00007FFE9C0F0000 _ssl.pyd    	3.8.1150.1013
00007FFE88BD0000-00007FFE88C7B000 libssl-1_1.dll	1.1.1.4
00007FFE9C0B0000-00007FFE9C0C2000 _asyncio.pyd	3.8.1150.1013
00007FFEB47A0000-00007FFEB47AD000 _overlapped.pyd	3.8.1150.1013
00007FFECB230000-00007FFECB29A000 mswsock.dll 	6.2.19041.546
0000000015FF0000-0000000015FFF000 qtquick2plugin.dll	5.12.11.0
00007FFE88B10000-00007FFE88BC7000 kritasketchplugin.dll
00007FFE886B0000-00007FFE88B0C000 d3dcompiler_47.dll	10.0.19041.685
00007FFEB9700000-00007FFEB971F000 kritapngexport.dll
00007FFEB1200000-00007FFEB16D3000 WININET.dll 	11.0.19041.1151
00007FFEC1D60000-00007FFEC2010000 iertutil.dll	11.0.19041.1081
00007FFECB9A0000-00007FFECB9D1000 SspiCli.dll 	6.2.19041.906
00007FFEAC1C0000-00007FFEAC1D7000 ondemandconnroutehelper.dll	6.2.19041.546
00007FFEC32D0000-00007FFEC33D8000 winhttp.dll 	6.2.19041.1151
00007FFEC59C0000-00007FFEC59CB000 WINNSI.DLL  	6.2.19041.546
00007FFEBE920000-00007FFEBEB0C000 urlmon.dll  	11.0.19041.1151
00007FFEC33F0000-00007FFEC33FA000 rasadhlp.dll	6.2.19041.546
00007FFEBEBF0000-00007FFEBEC6F000 fwpuclnt.dll	6.2.19041.1081

Windows 6.2.9200
DrMingw 0.8.2
Comment 11 Know Zero 2021-08-27 17:14:33 UTC
The issue with recorder is the same, at line 80 of /krita/plugins/dockers/recorder/recorder_export.cpp

1000 needs to be changed to 5000.

That said, checkFfmpeg function should probably be changed to use the KisFFMpegWrapper's findFFMpeg for consistency.

As for the crash, that is a separate issue. But can you clarify exactly which version of ffmpeg you used as you mentioned multiple.
Comment 12 Ahab Greybeard 2021-08-27 19:59:50 UTC
It would have been the 4.4 release essential build from the .zip package.
I didn't try the git essentials until after the crash.
From then, neither of them gave a crash.

When I have time, I'll try things to make it crash again.

If it's a separate issue, should the crash be reported in a new bug report?
Comment 13 Know Zero 2021-08-30 03:16:19 UTC
(In reply to Ahab Greybeard from comment #12)
> It would have been the 4.4 release essential build from the .zip package.
> I didn't try the git essentials until after the crash.
> From then, neither of them gave a crash.
> 
> When I have time, I'll try things to make it crash again.
> 
> If it's a separate issue, should the crash be reported in a new bug report?

Yes, it would be a separate issue with its own ticket. If possible, set ENV:

QT_LOGGING_RULES="krita*=true"

during testing and have Microsoft's DebugView running. This would output more detailed logs.

Also, check to see when it crashes if the frames were exported or not (to know if the crash happened on the export frames or on the encoding part)

PS merge request to fix the remaining issue for this bug has been made:
https://invent.kde.org/graphics/krita/-/merge_requests/1026
Comment 14 Dmitry Kazakov 2021-09-04 05:02:46 UTC
The aforementioned merge request has been merged! :)
Comment 15 Ahab Greybeard 2021-09-24 09:18:20 UTC
*** Bug 442859 has been marked as a duplicate of this bug. ***