x265 2pass encoding fails - svn7168-Win

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
Lazyncoder
Novice
Posts: 63
Joined: Wed Dec 17, 2014 11:19 am

x265 2pass encoding fails - svn7168-Win

Post by Lazyncoder »

Hi,

I tried a couple of times to encode 2pass mode with x265, but it seems something is wrong with it.
I guess the log will tell it all:

Code: Select all

HandBrake svn7168 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.2.9200.0 - 64bit
CPU: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G
Ram: 7107 MB, 
GPU Information:
  AMD Radeon(TM) R7 Graphics - 14.501.1003.0
Screen: 1024x768
Temp Dir: C:\Users\La.Z\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\La.Z\AppData\Roaming\HandBrake\HandBrake\0.0.0.7168

-------------------------------------------

# Starting Encode ...
[22:58:18] 1 job(s) to process
[22:58:18] CPU: 
[22:58:18]  - logical processor count: 4
[22:58:18] OpenCL device #1: Advanced Micro Devices, Inc. Spectre
[22:58:18]  - OpenCL version: 2.0 AMD-APP (1642.5)
[22:58:18]  - driver version: 1642.5 (VM)
[22:58:18]  - device type:    GPU
[22:58:18]  - supported:      YES
[22:58:18] Intel Quick Sync Video support: no
[22:58:18] hb_scan: path=F:\crossfire 2015-05-11 02-16-59-37.avi, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:251: failed opening UDF image F:\crossfire 2015-05-11 02-16-59-37.avi
src/libbluray/disc/disc.c:332: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:332: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2373: nav_get_title_list(F:\crossfire 2015-05-11 02-16-59-37.avi\) failed
[22:58:18] 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
[22:58:18] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'F:\crossfire 2015-05-11 02-16-59-37.avi':
  Duration: 00:01:08.50, start: 0.000000, bitrate: 298614 kb/s
    Stream #0.0: Video: fraps, yuvj420p, 1024x768, 60 fps, 60 tbn
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[22:58:18] dxva2:DxFindVideoServiceConversion failed
[22:58:18] scan: decoding previews for title 1
[22:58:18] scan: audio 0x1: pcm_s16le, rate=48000Hz, bitrate=1536000 Unknown (pcm_s16le) (2.0 ch)
[22:58:18] scan: 10 previews, 1024x768, 60.000 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[22:58:18] libhb: scan thread found 1 valid title(s)
[22:58:19] starting job
[22:58:19] sync: expecting 1680 video frames
[22:58:19] job configuration:
[22:58:19]  * source
[22:58:19]    + F:\crossfire 2015-05-11 02-16-59-37.avi
[22:58:19]    + title 1, start 00:00:41.00 stop 00:01:8.00
[22:58:19]    + container: avi
[22:58:19]    + data rate: 298614 kbps
[22:58:19]  * destination
[22:58:19]    + F:\PSA-1000.mkv
[22:58:19]    + container: Matroska (libavformat)
[22:58:19]  * video track
[22:58:19]    + decoder: fraps
[22:58:19]    + filters
[22:58:19]      + Framerate Shaper (0)
[22:58:19]        + frame rate: same as source (around 60.000 fps)
[22:58:19]      + Crop and Scale (960:672:0:58:0:0)
[22:58:19]        + source: 1024 * 768, crop (0/58/0/0): 1024 * 710, scale: 960 * 672
[22:58:19]    + Output geometry
[22:58:19]      + storage dimensions: 960 x 672
[22:58:19]      + pixel aspect ratio: 1 : 1
[22:58:19]      + display dimensions: 960 x 672
[22:58:19]    + encoder: H.265 (libx265)
[22:58:19]      + preset:  slower
[22:58:19]      + options: aq-strength=1.0
[22:58:19]      + profile: auto
[22:58:19]      + bitrate: 200 kbps, pass: 1
[22:58:19]  * audio track 1
[22:58:19]    + decoder: Unknown (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[22:58:19]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[22:58:19]    + mixdown: Stereo
[22:58:19]    + dither: none
[22:58:19]    + encoder: HE-AAC (libfdk_aac)
[22:58:19]      + bitrate: 64 kbps, samplerate: 48000 Hz
x265 [info]: HEVC encoder version 1.6
x265 [info]: build info [Windows][GCC 4.9.0][64 bit] 8bpp
[22:58:19] reader: first SCR 3690000 id 0x0 DTS 3690000
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: frame threads / pool features       : 16 / wpp(11 rows)+pmode
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut       : 60 / 600 / 40
x265 [info]: Lookahead / bframes / badapt        : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 1 / 3
x265 [info]: Rate Control / AQ-Strength / CUTree : ABR-200 kbps / 1.0 / 1
x265 [info]: tools: rect amp rd=6 psy-rd=0.30 rdoq=2 psy-rdoq=1.00 signhide
x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock sao stats-write
[23:11:56] reader: done. 1 scr changes
[23:12:17] sync: reached pts 2430000, exiting early
[23:12:42] work: average encoding speed for job is 1.935685 fps
[23:12:42] sync: got 1620 frames, 1680 expected
[23:12:42] render: lost time: 0 (0 frames)
[23:12:42] render: gained time: 0 (0 frames) (0 not accounted for)
[23:12:42] fraps-decoder done: 1650 frames, 0 decoder errors, 0 drops
x265 [info]: frame I:      3, Avg QP:44.79  kb/s: 1926.56 
x265 [info]: frame P:    431, Avg QP:47.89  kb/s: 452.90  
x265 [info]: frame B:   1186, Avg QP:51.15  kb/s: 92.65   
x265 [info]: global :   1620, Avg QP:50.27  kb/s: 191.89  
x265 [info]: Weighted P-Frames: Y:0.7% UV:0.5%
x265 [info]: Weighted B-Frames: Y:0.1% UV:0.0%
x265 [info]: consecutive B-frames: 9.2% 12.7% 18.7% 31.6% 15.4% 8.8% 3.0% 0.5% 0.2% 
[23:12:42] pcm_s16le-decoder done: 0 frames, 0 decoder errors, 0 drops
[23:12:42] starting job
[23:12:42] sync: expecting 1620 video frames
[23:12:42] job configuration:
[23:12:42]  * source
[23:12:42]    + F:\crossfire 2015-05-11 02-16-59-37.avi
[23:12:42]    + title 1, start 00:00:41.00 stop 00:01:8.00
[23:12:42]    + container: avi
[23:12:42]    + data rate: 298614 kbps
[23:12:42]  * destination
[23:12:42]    + F:\PSA-1000.mkv
[23:12:42]    + container: Matroska (libavformat)
[23:12:42]  * video track
[23:12:42]    + decoder: fraps
[23:12:42]    + filters
[23:12:42]      + Framerate Shaper (0)
[23:12:42]        + frame rate: same as source (around 60.000 fps)
[23:12:42]      + Crop and Scale (960:672:0:58:0:0)
[23:12:42]        + source: 1024 * 768, crop (0/58/0/0): 1024 * 710, scale: 960 * 672
[23:12:42]    + Output geometry
[23:12:42]      + storage dimensions: 960 x 672
[23:12:42]      + pixel aspect ratio: 1 : 1
[23:12:42]      + display dimensions: 960 x 672
[23:12:42]    + encoder: H.265 (libx265)
[23:12:42]      + preset:  slower
[23:12:42]      + options: aq-strength=1.0
[23:12:42]      + profile: auto
[23:12:42]      + bitrate: 200 kbps, pass: 2
[23:12:42]  * audio track 1
[23:12:42]    + decoder: Unknown (pcm_s16le) (2.0 ch) (track 1, id 0x1)
[23:12:42]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[23:12:42]    + mixdown: Stereo
[23:12:42]    + dither: none
[23:12:42]    + encoder: HE-AAC (libfdk_aac)
[23:12:42]      + bitrate: 64 kbps, samplerate: 48000 Hz
x265 [info]: HEVC encoder version 1.6
x265 [info]: build info [Windows][GCC 4.9.0][64 bit] 8bpp
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: frame threads / pool features       : 16 / wpp(11 rows)+pmode
[23:12:42] reader: first SCR 3690000 id 0x0 DTS 3690000
x265 [error]: statistics are damaged at line 1606, parser out=1
encx265: x265_encoder_open failed.
Failure to initialise thread 'H.265/HEVC encoder (libx265)'
[23:12:42] render: lost time: 0 (0 frames)
[23:12:42] render: gained time: 0 (0 frames) (0 not accounted for)
[23:12:42] reader: done. 1 scr changes
[23:12:42] fraps-decoder done: 1 frames, 0 decoder errors, 0 drops
[23:12:42] libhb: work result = 3
# Encode Completed ...
Post Reply