Log in

View Full Version : x264 keeps crashing, here's error messages and logs


florinandrei
6th December 2010, 02:10
Trying to encode a video, using the AVCHD (DVD5/9) preset in MeGUI, mode Automated 2pass, 5885 kb/s. It seems to always crash at the same point, about 40% into the first pass. Source is 1080p30 VC-1. x264 version according to MeGUI: 1649

Windows error message:

Problem signature:
Problem Event Name: APPCRASH
Application Name: x264.exe
Application Version: 0.0.0.0
Application Timestamp: 4c174439
Fault Module Name: x264.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4c174439
Exception Code: c0000005
Exception Offset: 00040fb0
OS Version: 6.0.6001.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 923d
Additional Information 2: ad9cbda66d1889c543e1d0ad8b917e07
Additional Information 3: 2fed
Additional Information 4: d88a27463499c7b38eedbfac1305014f

MeGUI log (I broke the x264.exe line into several chunks, it was too long for this page):

[Information] Log
-[Information] Versions
--[NoImage] MeGUI Version : 0.3.5.0
--[NoImage] OS : Windows Vista Ultimate Edition x86 SP1 (6.0.65536.6001)
--[NoImage] Latest .Net Framework installed : 3.5 (3.5.30729.01)
--[NoImage] Avisynth Version : 2.5.8.5
-[Information] Log for job1 (video, video.avs -> )
--[Information] [12/5/2010 1:26:46 PM] Started handling job
--[Information] [12/5/2010 1:26:46 PM] Preprocessing
--[NoImage] Job commandline: "C:\Program Files\MeGUI\tools\x264\x264.exe" --pass 1 --bitrate 5885
--stats "C:\hd\universe\video.stats" --slow-firstpass --level 4.1 --bframes 3 --ref 4
--slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2
--vbv-maxrate 14000 --vbv-bufsize 14500 --weightp 0 --colorprim "bt709" --transfer "bt709"
--colormatrix "bt709" --sar 1:1 --output NUL "C:\hd\universe\video.avs"
--[Information] [12/5/2010 1:26:49 PM] Encoding started
--[NoImage] Standard output stream
--[NoImage] Standard error stream
---[NoImage] avs [info]: 1920x1080p 1:1 @ 10000000/333667 fps (cfr)
---[NoImage] x264 [info]: using SAR=1/1
---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
---[NoImage] x264 [info]: profile High, level 4.1
--[Information] [12/5/2010 4:54:42 PM] Job completed

Let me know if I need to do anything to help you troubleshoot it.

Sharktooth
6th December 2010, 02:15
the x264 crash is probably due to an avisynth crash (due to a plugin or some other factor). post your avs script.

kemuri-_9
6th December 2010, 02:58
since the scenario is
A) an invalid access exception
B) you have a 1080p source
C) are using a 32bit x264 with avisynth
you're probably running out of memory with hitting the 2GB process limit.

florinandrei
7th December 2010, 06:21
the x264 crash is probably due to an avisynth crash (due to a plugin or some other factor). post your avs script.

Here it is:

DirectShowSource("C:\hd\universe\video.mkv", fps=29.970, audio=false, convertfps=true)
#deinterlace
#crop
#resize
#denoise

you're probably running out of memory with hitting the 2GB process limit.

Interesting. I've been doing this for quite some time and:


in the overwhelming majority of cases it's fine
on those very rare occasions when it does crash, trying again usually solves it


But this is different for some reason.

What can I do to troubleshoot it? I could try a few different things to get more info out of it, just let me know what should I try.

Hiritsuki
7th December 2010, 11:44
I used x264 32bit 1804 and memory using over 2GB is All Right complete.