GyanD / codexffmpeg

Support for https://www.gyan.dev/ffmpeg
1.38k stars 108 forks source link

ffmpeg 7.02 crash randomly with Exception code: 0xc0000005 or Exception code: 0xc000008f #148

Open ansariatif opened 3 weeks ago

ansariatif commented 3 weeks ago

hi gyan,

my application uses ffmpeg for 24x7 file capture. after last window update ffmpeg crashed randomly with Exception code: 0xc0000005 or Exception code: 0xc000008f in both windows 10 and windows 11.

windows exception

Faulting application name: ffmpeg.exe, version: 0.0.0.0, time stamp: 0x00000000 Faulting module name: ffmpeg.exe, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc000008f Fault offset: 0x0000000001dc0d55 Faulting process id: 0x49c8 Faulting application start time: 0x01daf3ec7d8a85f7 Faulting application path: D:\Logger_win\config\ffmpeg.exe Faulting module path: D:\Logger_win\config\ffmpeg.exe Report Id: 889bab2a-85e3-4394-a15a-d2442a692b84

Faulting application name: ffmpeg.exe, version: 0.0.0.0, time stamp: 0x00000000 Faulting module name: ntdll.dll, version: 10.0.19041.4522, time stamp: 0x8a1bb6f3 Exception code: 0xc0000005 Fault offset: 0x00000000000649f6 Faulting process id: 0x4378 Faulting application start time: 0x01daf3ce2e9e9849 Faulting application path: D:\Logger_win\config\ffmpeg.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: fd1bbe87-6591-4d6a-b904-48ec9cc72ff6 Faulting package full name:

Faulting application name: ffmpeg.exe, version: 0.0.0.0, time stamp: 0x00000000 Faulting module name: ntdll.dll, version: 10.0.19041.4522, time stamp: 0x8a1bb6f3 Exception code: 0xc0000025 Fault offset: 0x00000000001025e6 Faulting process id: 0x30d0 Faulting application start time: 0x01daf3d138bd0b6b Faulting application path: D:\Logger_win\config\ffmpeg.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll Report Id: ff99e787-cfa9-475d-b722-44af47a51359 Faulting package full name:

please help me. provide resolution

GyanD commented 3 weeks ago

Needs details. Full command used + debug level log. OS info.

ansariatif commented 3 weeks ago

Coomand

ffmpeg 23-08-2024_errorlog_29.txt 23-08-2024_errorlog_29.txt -rtbufsize 150M -nostats -buffer_size 9388608 -err_detect ignore_err -fflags +flush_packets -timeout 20000 -re -i "udp://224.2.2.2:2000?fifo_size=1000000&overrun_nonfatal=1&localaddr=192.168.0.65" -map 0:p:1 -filter_complex "[0:p:1:v]scale=384:288,drawtext=fontfile=C\:/Windows/Fonts/ARIALN.TTF: text=Demo: x=10: y=text_h: fontcolor=#FFFFFF@1:fontsize=20.25:shadowcolor=#000000:shadowx=3:shadowy=3,drawtext=fontfile=C\:/Windows/Fonts/ARIALN.TTF: text='%{localtime}': x=(w-tw)-10: y=text_h: fontcolor=#FFFFFF@1:fontsize=20.25:shadowcolor=#000000:shadowx=3:shadowy=3,blackdetect=d=5,metadata=print:key=lavfi.black_start,blackdetect=d=5,metadata=print:key=lavfi.black_end,freezedetect=n=-60dB:d=5" -af aresample=async=1,silencedetect=n=-50dB:d=5 -map 0:p:1:a? -c:v libx264 -c:a aac -b:a 32k -ar 44100 -ac 2 -s 384X288 -r 25 -b:v 250k -bufsize 2048k -preset slow -g 25 -sn -dn -ignore_unknown -x264-params keyint=25:min-keyint=25:bframes=3:scenecut=0 -reset_timestamps 1 -f segment -strftime 1 -segment_atclocktime 1 -segment_time 120 -segmentformat mpegts G:\logger\data/temp/Demo%Y-%m-%d_%H-%M-%S.ts

system info image

Templayer commented 4 days ago

Win7

image

Templayer commented 4 days ago

Win7

image

Nevermind, I took a look at the main site and it said that the full builds are no longer supported for Win7.

So I made it work using VxKex.

image