Log in

View Full Version : x265 segmentation fault???


fifer55
8th May 2015, 00:49
Hello,

I am currently running:
yuv [info]: 3840x1714 fps 24000/1001 i420p10 frames 0 - 340 of 341
x265 [info]: HEVC encoder version 1.5
x265 [info]: build info [Mac OS X][clang 6.1.0][64 bit] 16bpp
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 10 profile, Level-5 (Main tier)
x265 [info]: WPP streams / frame threads / pool : 27 / 3 / 12
x265 [info]: Internal bit depth : 10
x265 [info]: CTU size / RQT depth inter / intra : 64 / 1 / 1

Using the following source (Tears of Steel - "4K" rendered):
http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/

When I try to run my commands, I get the following error:
Segmentation fault: 11

No other errors.

I have tried to run in 8b mode, tried to reduce the number of switches and make bare-bones but nothing seems to work.

Any ideas would be appreciated.

Ely
8th May 2015, 01:05
Compiling x265 in debug mode and posting a crashdump / backtrace would be a first step :) .

MeteorRain
8th May 2015, 13:02
Also may we have your tested command line?

fifer55
11th May 2015, 20:12
Hello All,

After thinking about it, I just removed any/all traces of ffmpeg, its libraries and x265, recompiled in high bit depth mode and it is working now.

Also, updated to the latest version of x265:
yuv [info]: 3840x1714 fps 24000/1001 i420p10 frames 0 - 340 of 341
raw [info]: output file: /Users/user/Desktop/ffmpeg/hevcRAW_16b_5mbps_v1.hevc
x265 [info]: HEVC encoder version 1.6+411-3700169eb622
x265 [info]: build info [Mac OS X][clang 6.1.0][64 bit] 16bpp
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main 10 profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: frame threads / pool features : 3 / wpp(27 rows)
x265 [info]: Internal bit depth : 10

Thanks all!

Now I just have to deal with the VBV underflow errors:

x265 [warning]: poc:0, VBV underflow (-5318592 bits)
x265 [warning]: poc:47, VBV underflow (-5277768 bits)02:13
x265 [warning]: poc:94, VBV underflow (-5471264 bits)01:42
x265 [warning]: poc:141, VBV underflow (-5668544 bits)01:20
x265 [warning]: poc:188, VBV underflow (-5277392 bits)01:00
x265 [warning]: poc:235, VBV underflow (-5295720 bits)00:41
x265 [warning]: poc:282, VBV underflow (-5587568 bits)00:23
x265 [warning]: poc:329, VBV underflow (-5327776 bits)00:05
x265 [warning]: poc:340, VBV underflow (-5205488 bits)00:01
x265 [info]: frame I: 9, Avg QP:51.00 kb/s: 152727.57
x265 [info]: frame P: 116, Avg QP:50.99 kb/s: 127.53
x265 [info]: frame B: 216, Avg QP:50.28 kb/s: 293.64
x265 [info]: global : 341, Avg QP:50.54 kb/s: 4260.32
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 13.6% 0.0% 86.4% 0.0%