This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Strange crash
#1
Two times in a row I try to encode a film, and around 50% hybrid crashes. I don't understand why Huh


https://dropmefiles.com/MK6GV
Reply
#2
Doesn't look like the decoder, but like the encoder just crashes,...
To be use run:
"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -noautorotate -nostdin -threads 8 -i "E:\TheHiddenBlade\source.mkv" -map 0:0 -an -sn -vf crop=1916:1036:2:22 -pix_fmt yuv420p -vsync 0 -f rawvideo NUL
inside a Windows Command Prompt. This should show if the decoder has any issues about around frame 115147. (Decoding on it's own should be fairly fast.)
The encoder part:
"C:\Program Files\Hybrid\64bit\x264.exe" --preset slower --crf 18.80 --profile high --level 4.1 --ref 4 --bframes 16 --sync-lookahead 24 --qcomp 0.65 --no-mbtree --ipratio 1.3 --pbratio 1.2 --qpmax 51 --no-fast-pskip --merange 32 --subme 11 --aq-mode 3 --aq-strength 0.65 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 1:1 --deblock -3:-3 --non-deterministic --range pc --colorprim bt709 --transfer bt709 --colormatrix bt709 --demuxer raw --input-res 1916x1036 --input-csp i420 --input-range tv --input-depth 8 --fps 24000/1001 --output-depth 8 --output "E:\TheHiddenBlade\2021-02-26@17_40_27_2010_01.264" -
looks fine to me.
RAM usage should be high either so that should not cause an issue.

My guess is that either:
a. the decoder has an issue with the decoding and sends some really strange output to x264 which make it crash
or
b. the encoder has some problem
or
c. there is some hardware or temperature issue.
or
d. some other tool anti virus or similar is for some reason is interfering with the encoding.

I assume your system isn't overclocked. Also do you know by any change whether it always crashes at the same position?

Cu Selur
Reply
#3
I have ryzen 1700x, it's OCed to 3700 at 1.35V. It's very minor OC with plenty of voltage, tested long time ago. Temps are always the same under full load (far from anything dangerous), so this shouldn't be an issue.

I encode regularly, very rarely such crashes happen. It did happen a couple of times before, I had to encode 3 times, only the 3rd encode went all the way.

The first time I didn't had Debug output switched on, so I can't confirm if the frame is the same.

Anyway, will try this for the 3rd encode - switch off Windows Defender, and new Debug to see if the frame is the same.
Reply
#4
Like I wrote you can check whether the decoding has an issue by using the command line I provided which should be relatively fast since it's only the decoding.

Random crashes are usually caused by a problem with the decoder, something interfering or some hardware issue.
Crashes that always happen at the same point are usually either a problem with the source or running out of memory.
If you just use Windows Defender that should not cause any problems assuming you told it to exclude the input, temp and output folders.

Quote:I encode regularly, very rarely such crashes happen. It did happen a couple of times before, I had to encode 3 times, only the 3rd encode went all the way.
That sound like an hardware (memory, cpu, temperature) issue.

Cu Selur
Reply
#5
So, 3rd encode went fine all the way.

I changed two things:

1) Switched off Defender (but I don't think it was the issue anyway)

2) In x264 options I used Threads=16 instead of 0 (auto mode)

Using 16 instead of auto I noticed the load on cpu is probably lower by 1-2% on average, which is nothing.
Reply
#6
Okay, that sounds like an hardware/temperature/overclocking issue.

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)