Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video encoding using x265 2.9+2 failed with exit code: -1073741819 (0xC0000005) #31

Closed
OnbekendHH opened this issue Oct 27, 2018 · 3 comments

Comments

@OnbekendHH
Copy link

Here there, Revan654!

Much thanks for the new version of StaxRip! Great work!...

Unfortunately, I have an issue when using the "Grain" preset (see below)
What could be the reason?

Error Video encoding using x265 2.9+2 (2.0.0.0)

Video encoding using x265 2.9+2 failed with exit code: -1073741819 (0xC0000005)

The exit code might be a system error code: The instruction at 0xp referenced memory at 0xp. The memory could not be s.

------------------- Video encoding using x265 2.9+2 -------------------

"C:\Other Apps\StaxRip_2.0.0.0_x64\Apps\avs2pipemod\avs2pipemod64.exe" -y4mp "D:\StaxRip_Temp\Funny People (2009)_temp\Funny People (2009).avs" | "C:\Other Apps\StaxRip_2.0.0.0_x64\Apps\x265\x265.exe" --crf 16 --preset slow --tune grain --level-idc 6.1 --output-depth 10 --limit-refs 2 --analysis-reuse-level 10 --b-intra --cu-lossless --rskip --ssim-rd --qpmax 22 --crf-max 19 --vbv-bufsize 120000 --vbv-maxrate 120000 --cplxblur 0 --aq-motion --subme 4 --weightb --bframes 16 --bframe-bias 100 --rc-lookahead 30 --lookahead-slices 1 --keyint 720 --no-open-gop --colorprim bt709 --colormatrix bt709 --transfer bt709 --range limited --hash 2 --repeat-headers --hrd --aud --vui-timing-info --vui-hrd-info --opt-qp-pps --opt-ref-list-length-pps --idr-recovery-sei --sao --limit-sao --sao-non-deblock --frames 209808 --y4m --output "D:\StaxRip_Temp\Funny People (2009)_temp\Funny People (2009)_out.hevc" -

avs2pipemod[info]: writing 209808 frames of 24000/1001 fps, 1920x1040,
sar 0:0, YUV-420-planar-10bit progressive video.
y4m [info]: 1920x1040 fps 24000/1001 i420p10 unknown frame count
raw [info]: output file: D:\StaxRip_Temp\Funny People (2009)_temp\Funny People (2009)_out.hevc
x265 [info]: HEVC encoder version 2.9+2-7e978ed93d60
x265 [info]: build info [Windows][GCC 8.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-6.1 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 23 / 720 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 30 / 16 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 4 / on / off
x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 120000 / 120000 / 0.900
x265 [info]: tools: rect limit-modes rd=4 ssim-rd rdoq=2 psy-rdoq=10.00 rskip
x265 [info]: tools: cu-lossless signhide tmvp b-intra strong-intra-smoothing
x265 [info]: tools: lslices=1 deblock sao-non-deblock
avs2pipemod[info]: finished, wrote 74 frames [0%].
avs2pipemod[info]: total elapsed time is 5.871 sec.
avs2pipemod[error]: only wrote 74 of 209808 frames.

StaxRip.ErrorAbortException: Video encoding using x265 2.9+2 failed with exit code: -1073741819 (0xC0000005)

The exit code might be a system error code: The instruction at 0xp referenced memory at 0xp. The memory could not be s.

------------------- Video encoding using x265 2.9+2 -------------------

"C:\Other Apps\StaxRip_2.0.0.0_x64\Apps\avs2pipemod\avs2pipemod64.exe" -y4mp "D:\StaxRip_Temp\Funny People (2009)_temp\Funny People (2009).avs" | "C:\Other Apps\StaxRip_2.0.0.0_x64\Apps\x265\x265.exe" --crf 16 --preset slow --tune grain --level-idc 6.1 --output-depth 10 --limit-refs 2 --analysis-reuse-level 10 --b-intra --cu-lossless --rskip --ssim-rd --qpmax 22 --crf-max 19 --vbv-bufsize 120000 --vbv-maxrate 120000 --cplxblur 0 --aq-motion --subme 4 --weightb --bframes 16 --bframe-bias 100 --rc-lookahead 30 --lookahead-slices 1 --keyint 720 --no-open-gop --colorprim bt709 --colormatrix bt709 --transfer bt709 --range limited --hash 2 --repeat-headers --hrd --aud --vui-timing-info --vui-hrd-info --opt-qp-pps --opt-ref-list-length-pps --idr-recovery-sei --sao --limit-sao --sao-non-deblock --frames 209808 --y4m --output "D:\StaxRip_Temp\Funny People (2009)_temp\Funny People (2009)_out.hevc" -

avs2pipemod[info]: writing 209808 frames of 24000/1001 fps, 1920x1040,
sar 0:0, YUV-420-planar-10bit progressive video.
y4m [info]: 1920x1040 fps 24000/1001 i420p10 unknown frame count
raw [info]: output file: D:\StaxRip_Temp\Funny People (2009)_temp\Funny People (2009)_out.hevc
x265 [info]: HEVC encoder version 2.9+2-7e978ed93d60
x265 [info]: build info [Windows][GCC 8.2.0][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main 10 profile, Level-6.1 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 4 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 23 / 720 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 30 / 16 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 4 / on / off
x265 [info]: Rate Control / qCompress : CRF-16.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init : 120000 / 120000 / 0.900
x265 [info]: tools: rect limit-modes rd=4 ssim-rd rdoq=2 psy-rdoq=10.00 rskip
x265 [info]: tools: cu-lossless signhide tmvp b-intra strong-intra-smoothing
x265 [info]: tools: lslices=1 deblock sao-non-deblock
avs2pipemod[info]: finished, wrote 74 frames [0%].
avs2pipemod[info]: total elapsed time is 5.871 sec.
avs2pipemod[error]: only wrote 74 of 209808 frames.

at StaxRip.Proc.Start() in C:\Users\Revan\Desktop\StaxRip-2.0\General\Proc.vb:line 338
at StaxRip.x265Enc.Encode(String passName, String commandLine, ProcessPriorityClass priority) in C:\Users\Revan\Desktop\StaxRip-2.0\Encoding\x265Enc.vb:line 65
at StaxRip.x265Enc.Encode() in C:\Users\Revan\Desktop\StaxRip-2.0\Encoding\x265Enc.vb:line 41
at StaxRip.GlobalClass.ProcessVideo() in C:\Users\Revan\Desktop\StaxRip-2.0\General\GlobalClass.vb:line 231
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath) in C:\Users\Revan\Desktop\StaxRip-2.0\General\GlobalClass.vb:line 138

@OnbekendHH
Copy link
Author

I also tried other Version of x265 from here: http://msystem.waw.pl/x265/
Unfortunately, no success.
There are no issues if NOT using preset "Grain".
This was not broken using 1.9.0.0 and the included version of x265

@OnbekendHH
Copy link
Author

Using x265 2.8+69-856f056d392e with StaxRip 2.0.0.0 works fine.

@Revan654
Copy link
Owner

Import the Flags you are using and it's encoding perfectly at my end.

It's might be the video your using or FrameServer / Filters you have enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants