x265 Encoding Fails

Nov 30, 2014 at 7:33 PM
When I try to Encode a Video to x265 Codec, It Fails to Encode!
Here is the Log:

Starting queue

VidCoder 1.5.28.0 (x64)

Starting job 1/1

Path: G:\UHD 4K\SPRING 4K (ULTRA HD).mp4

Title: 1

Range: All

Worker ready: Service state is Opened on pipe VidCoderWorker.2366393b-da44-4b16-a0f5-9b49e1827962

Connecting to process 7392 on pipe VidCoderWorker.2366393b-da44-4b16-a0f5-9b49e1827962

[02:28:10] hb_init: starting libhb thread
[02:28:10] CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz
[02:28:10] - Intel microarchitecture Haswell
[02:28:10] - logical processor count: 4
[02:28:11] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[02:28:11] - OpenCL version: 1.2
[02:28:11] - driver version: 10.18.10.3316
[02:28:11] - device type: GPU
[02:28:11] - supported: YES
[02:28:11] OpenCL device #2: Advanced Micro Devices, Inc. Oland
[02:28:11] - OpenCL version: 1.2 AMD-APP (1268.1)
[02:28:11] - driver version: 1268.1 (VM)
[02:28:11] - device type: GPU
[02:28:11] - supported: YES
[02:28:11] Intel Quick Sync Video support: yes
[02:28:11] - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[02:28:11] - H.264 encoder: yes
[02:28:11] - preferred implementation: hardware (any)
[02:28:11] - H.265 encoder: no
[02:28:11] hb_scan: path=G:\UHD 4K\SPRING 4K (ULTRA HD).mp4, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\UHD 4K\SPRING 4K (ULTRA HD).mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\UHD 4K\SPRING 4K (ULTRA HD).mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(G:\UHD 4K\SPRING 4K (ULTRA HD).mp4) failed
[02:28:11] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[02:28:11] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\UHD 4K\SPRING 4K (ULTRA HD).mp4':
Metadata:
major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder         : Lavf55.12.100
Duration: 00:02:45.86, start: 0.000000, bitrate: 10576 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 3840x2160, 10452 kb/s, 24 fps, 90k tbn, 48 tbc (default)
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 125 kb/s (default)
[02:28:11] scan: decoding previews for title 1
[02:28:11] scan: audio 0x1: aac, rate=44100Hz, bitrate=125588 Unknown (AAC) (2.0 ch)
[02:28:13] scan: 10 previews, 3840x2160, 24.000 fps, autocrop = 2/0/0/0, aspect 16:9, PAR 1:1
[02:28:13] libhb: scan thread found 1 valid title(s)
[02:28:14] 2 job(s) to process
[02:28:14] starting job
[02:28:14] sync: expecting 3980 video frames
[02:28:14] job configuration:
[02:28:14] * source
[02:28:14] + G:\UHD 4K\SPRING 4K (ULTRA HD).mp4
[02:28:14] + title 1, chapter(s) 1 to 1
[02:28:14] + container: mov,mp4,m4a,3gp,3g2,mj2
[02:28:14] + data rate: 10576 kbps
[02:28:14] * destination
[02:28:14] + G:\SPRING 4K (ULTRA HD).mp4
[02:28:14] + container: MPEG-4 (libavformat)
[02:28:14] * video track
[02:28:14] + decoder: h264
[02:28:14] + bitrate 10452 kbps
[02:28:14] + filters
[02:28:14] + Framerate Shaper (1:27000000:1125000)
[02:28:14] + frame rate: 24.000 fps -> constant 24.000 fps
[02:28:14] + Crop and Scale (1920:1088:0:0:0:0)
[02:28:14] + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1088
[02:28:14] + loose anamorphic
[02:28:14] + storage dimensions: 1920 * 1088, mod 16
[02:28:14] + pixel aspect ratio: 136 / 135
[02:28:14] + display dimensions: 1934 * 1088
[02:28:14] + encoder: H.265 (libx265)
[02:28:14] + preset: veryfast
[02:28:14] + options: ref=4:psy-rd=1.2,0.00:ref=1:subme=2:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[02:28:14] + bitrate: 2000 kbps, pass: 1
[02:28:14] * audio track 1
[02:28:14] + decoder: Unknown (AAC) (2.0 ch) (track 2, id 0x1)
[02:28:14] + bitrate: 125 kbps, samplerate: 44100 Hz
[02:28:14] + mixdown: Stereo
[02:28:14] + encoder: AAC (libavcodec)
[02:28:14] + bitrate: 192 kbps, samplerate: 44100 Hz
[02:28:14] reader: first SCR 0 id 0x0 DTS -3750
[02:28:14] encx265: bad argument 'psy-rd=1.2,0.00'
Failure to initialise thread 'H.265/HEVC encoder (libx265)'
[02:28:14] render: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[02:28:14] render: lost time: 0 (0 frames)
[02:28:14] render: gained time: 0 (0 frames) (0 not accounted for)
[02:28:14] h264-decoder done: 0 frames, 0 decoder errors, 0 drops
[02:28:14] reader: done. 1 scr changes
[02:28:14] libhb: work result = 3

Encode failed.

Job completed (Elapsed Time: 6s)

Queue completed

Coordinator
Nov 30, 2014 at 10:15 PM
It looks like the advanced options string you passed it is invalid. It doesn't recognize the psy-rd parameter.
Dec 1, 2014 at 5:07 AM
So, What should I do?
Coordinator
Dec 1, 2014 at 5:10 AM
Removing the invalid parameters would be a good start.
Dec 1, 2014 at 6:35 AM
Removed the psy-rd parameter, but this happens

Starting queue

VidCoder 1.5.28.0 (x64)

Starting job 1/1

Path: G:\UHD 4K\SPRING 4K (ULTRA HD).mp4

Title: 1

Range: All

Worker ready: Service state is Opened on pipe VidCoderWorker.89498d6c-38ff-45ac-a2e2-a91563d075b8

Connecting to process 712 on pipe VidCoderWorker.89498d6c-38ff-45ac-a2e2-a91563d075b8

[13:34:01] hb_init: starting libhb thread
[13:34:01] CPU: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz
[13:34:01] - Intel microarchitecture Haswell
[13:34:01] - logical processor count: 4
[13:34:01] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[13:34:01] - OpenCL version: 1.2
[13:34:01] - driver version: 10.18.10.3316
[13:34:01] - device type: GPU
[13:34:01] - supported: YES
[13:34:01] OpenCL device #2: Advanced Micro Devices, Inc. Oland
[13:34:01] - OpenCL version: 1.2 AMD-APP (1268.1)
[13:34:01] - driver version: 1268.1 (VM)
[13:34:01] - device type: GPU
[13:34:01] - supported: YES
[13:34:01] Intel Quick Sync Video support: yes
[13:34:01] - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[13:34:01] - H.264 encoder: yes
[13:34:01] - preferred implementation: hardware (any)
[13:34:01] - H.265 encoder: no
[13:34:01] hb_scan: path=G:\UHD 4K\SPRING 4K (ULTRA HD).mp4, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\UHD 4K\SPRING 4K (ULTRA HD).mp4/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening G:\UHD 4K\SPRING 4K (ULTRA HD).mp4/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(G:\UHD 4K\SPRING 4K (ULTRA HD).mp4) failed
[13:34:01] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[13:34:01] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\UHD 4K\SPRING 4K (ULTRA HD).mp4':
Metadata:
major_brand     : isom
minor_version   : 512
compatible_brands: isomiso2avc1mp41
encoder         : Lavf55.12.100
Duration: 00:02:45.86, start: 0.000000, bitrate: 10576 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 3840x2160, 10452 kb/s, 24 fps, 90k tbn, 48 tbc (default)
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 125 kb/s (default)
[13:34:01] scan: decoding previews for title 1
[13:34:02] scan: audio 0x1: aac, rate=44100Hz, bitrate=125588 Unknown (AAC) (2.0 ch)
[13:34:04] scan: 10 previews, 3840x2160, 24.000 fps, autocrop = 2/0/0/0, aspect 16:9, PAR 1:1
[13:34:04] libhb: scan thread found 1 valid title(s)
[13:34:04] 2 job(s) to process
[13:34:04] starting job
[13:34:04] sync: expecting 3980 video frames
[13:34:04] job configuration:
[13:34:04] * source
[13:34:04] + G:\UHD 4K\SPRING 4K (ULTRA HD).mp4
[13:34:04] + title 1, chapter(s) 1 to 1
[13:34:04] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:34:04] + data rate: 10576 kbps
[13:34:04] * destination
[13:34:04] + G:\SPRING 4K (ULTRA HD).mkv
[13:34:04] + container: Matroska (libavformat)
[13:34:04] * video track
[13:34:04] + decoder: h264
[13:34:04] + bitrate 10452 kbps
[13:34:04] + filters
[13:34:04] + Framerate Shaper (1:27000000:1125000)
[13:34:04] + frame rate: 24.000 fps -> constant 24.000 fps
[13:34:04] + Crop and Scale (1920:1088:0:0:0:0)
[13:34:04] + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1088
[13:34:04] + loose anamorphic
[13:34:04] + storage dimensions: 1920 * 1088, mod 16
[13:34:04] + pixel aspect ratio: 136 / 135
[13:34:04] + display dimensions: 1934 * 1088
[13:34:04] + encoder: H.265 (libx265)
[13:34:04] + preset: veryfast
[13:34:04] + options: ref=1:subme=2:me=dia:analyse=none:trellis=0:no-fast-pskip=0:8x8dct=0:weightb=0
[13:34:04] + bitrate: 2000 kbps, pass: 1
[13:34:04] * audio track 1
[13:34:04] + decoder: Unknown (AAC) (2.0 ch) (track 2, id 0x1)
[13:34:04] + bitrate: 125 kbps, samplerate: 44100 Hz
[13:34:04] + mixdown: Stereo
[13:34:04] + encoder: AAC (libavcodec)
[13:34:04] + bitrate: 192 kbps, samplerate: 44100 Hz
[13:34:04] reader: first SCR 0 id 0x0 DTS -3750
[13:34:04] encx265: unknown option 'analyse'
Failure to initialise thread 'H.265/HEVC encoder (libx265)'
[13:34:05] reader: done. 1 scr changes
[13:34:05] render: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[13:34:05] render: lost time: 0 (0 frames)
[13:34:05] render: gained time: 0 (0 frames) (0 not accounted for)
[13:34:05] h264-decoder done: 0 frames, 0 decoder errors, 0 drops
[13:34:05] libhb: work result = 3

Encode failed.

Job completed (Elapsed Time: 4s)

Queue completed

Coordinator
Dec 1, 2014 at 2:46 PM
[13:34:04] encx265: unknown option 'analyse'
Dec 1, 2014 at 4:43 PM
Edited Dec 1, 2014 at 4:46 PM
Did you encode any video to x265 yet? Then please share the step by step tutorial.
I'm unable to find out my problem.
thanks in advance.
Coordinator
Dec 1, 2014 at 5:24 PM
Delete the text in the "More Settings" box. I think you must have been on the "Advanced" tab and switched over to x265. I should clear that when switching...
Dec 2, 2014 at 3:39 AM
Yeah, I deleted the text and that problem occurred.
[13:34:04] encx265: unknown option 'analyse'

I'm using 1.5.28.0 (x64) version, and there's no Advanced tab/option.
Coordinator
Dec 4, 2014 at 2:46 PM
Give 1.5.29 a try. I fixed a few issues with how H.265 encodes are handled.