Handbrake: GCC 7.3 toolchain produces a not working binary

Created on 10 May 2018  路  3Comments  路  Source: HandBrake/HandBrake

Description of problem or feature request

Change set 443392f introduced new GCC toolchain, which produces malfunction binary.

Steps to reproduce the problem

  1. Compile mingw-w64 toolchain as instructed from scratch.
  2. Compile both CLI and DLL binaries as instructed except I use latest x265 code.
  3. Use CLI to encode a video, but the video file won't be encoded.

HandBrake version (e.g., 1.0.0)

HandBrake 20180508203126-a6f3cd6-master (2018050901) - MinGW x86_64 <--- won't work

HandBrake 20180501194504-63a5558-master (2018050301) - MinGW x86_64 <--- works fine

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)

Compiled on Gentoo (kernel 4.15.18, x86_64) guest in Windows 10 host, run on Windows 10 Home (64bit).

HandBrake Activity Log required (see https://handbrake.fr/docs/en/latest/help/activity-log.html)

Video source (Quicktime 720p) from https://peach.blender.org/trailer-page/

Here is the one in trouble (HandBrake 20180508203126-a6f3cd6-master (2018050901) - MinGW x86_64)
~~~
[13:23:04] hb_init: starting libhb thread
[13:23:04] thread 7f6ec60 started ("libhb")
HandBrake 20180508203126-a6f3cd6-master (2018050901) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening trailer_720p.mov...
[13:23:04] CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
[13:23:04] - Intel microarchitecture Skylake
[13:23:04] - logical processor count: 4
[13:23:04] Intel Quick Sync Video support: yes
[13:23:04] - Intel Media SDK hardware: API 1.25 (minimum: 1.3)
[13:23:04] - H.264 encoder: yes
[13:23:04] - preferred implementation: hardware (any) via D3D11
[13:23:04] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:23:04] - H.265 encoder: yes (8bit: yes, 10bit: no)
[13:23:04] - preferred implementation: hardware (any) via D3D11
[13:23:04] - capabilities (hardware): bpyramid icq vsinfo opt1
[13:23:04] hb_scan: path=trailer_720p.mov, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image trailer_720p.mov
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMVBACKUP\index.bdmv
[13:23:04] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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:23:04] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trailer_720p.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-03-18 12:45:48
Duration: 00:00:33.00, start: 0.000000, bitrate: 4317 kb/s
Stream #0:0(eng): Video: h264 (Main) [avc1 / 0x31637661]
yuv420p, tv, bt709/bt709/bt709
1280x720, 3945 kb/s
25 fps, 600 tbn (default)
Metadata:
creation_time : 2008-03-18 12:45:48
handler_name : Apple Alias Data Handler
encoder : H.264
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
48000 Hz, 5.1, fltp, 428 kb/s (default)
Metadata:
creation_time : 2008-03-18 12:45:48
handler_name : Apple Alias Data Handler
[13:23:04] scan: decoding previews for title 1
[13:23:04] scan: audio 0x1: aac, rate=48000Hz, bitrate=428605 English (AAC) (5.1 ch)
Scanning title 1 of 1, preview 4, 40.00 %[13:23:04] scan: 10 previews, 1280x720, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:23:04] scan: supported video decoders: avcodec qsv
[13:23:04] libhb: scan thread found 1 valid title(s)

  • Using preset: CLI Default
  • title 1:

    • stream: trailer_720p.mov

    • duration: 00:00:33

    • size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 25.000 fps

    • autocrop: 0/0/0/0

    • chapters:

    • 1: cells 0->0, 0 blocks, duration 00:00:33

    • audio tracks:

    • 1, English (AAC) (5.1 ch) (iso639-2: eng)

    • subtitle tracks:

      [13:23:04] 1 job(s) to process

      [13:23:04] json job:

      {

      "Audio": {

      "AudioList": [

      {

      "Bitrate": 32,

      "Encoder": 8388608,

      "Mixdown": 1,

      "Samplerate": 0,

      "Track": 0

      }

      ],

      "CopyMask": [

      "copy:aac",

      "copy:ac3",

      "copy:eac3",

      "copy:dtshd",

      "copy:dts",

      "copy:mp3",

      "copy:truehd",

      "copy:flac"

      ],

      "FallbackEncoder": "fdk_aac"

      },

      "Destination": {

      "AlignAVStart": false,

      "ChapterList": [

      {

      "Name": ""

      }

      ],

      "ChapterMarkers": false,

      "File": "D:\video\trailer_720p.mov",

      "InlineParameterSets": false,

      "Mp4Options": {

      "IpodAtom": false,

      "Mp4Optimize": false

      },

      "Mux": "m4v"

      },

      "Filters": {

      "FilterList": [

      {

      "ID": 4,

      "Settings": {

      "mode": "7"

      }

      },

      {

      "ID": 6,

      "Settings": {

      "mode": 0

      }

      },

      {

      "ID": 11,

      "Settings": {

      "crop-bottom": 0,

      "crop-left": 0,

      "crop-right": 0,

      "crop-top": 0,

      "height": 720,

      "width": 1280

      }

      }

      ]

      },

      "Metadata": {},

      "PAR": {

      "Den": 1,

      "Num": 1

      },

      "SequenceID": 0,

      "Source": {

      "Angle": 0,

      "Path": "trailer_720p.mov",

      "Range": {

      "End": 1,

      "Start": 1,

      "Type": "chapter"

      },

      "Title": 1

      },

      "Subtitle": {

      "Search": {

      "Burn": true,

      "Default": false,

      "Enable": false,

      "Forced": false

      },

      "SubtitleList": []

      },

      "Video": {

      "Bitrate": 100,

      "ColorMatrixCode": 0,

      "Encoder": "x265",

      "Preset": "medium",

      "Profile": "auto",

      "QSV": {

      "AsyncDepth": 4,

      "Decode": false

      },

      "Turbo": true,

      "TwoPass": true

      }

      }

      [13:23:04] starting job

      [13:23:04] yadif thread started for segment 0

      [13:23:04] yadif thread started for segment 1

      [13:23:04] yadif thread started for segment 2

      [13:23:04] job configuration:

      [13:23:04] yadif thread started for segment 3

      [13:23:04] * source

      [13:23:04] + trailer_720p.mov

      [13:23:04] + title 1, chapter(s) 1 to 1

      [13:23:04] + container: mov,mp4,m4a,3gp,3g2,mj2

      [13:23:04] + data rate: 4317 kbps

      [13:23:04] * destination

      [13:23:04] + D:\video\trailer_720p.mov

      [13:23:04] + container: MPEG-4 (libavformat)

      [13:23:04] * video track

      [13:23:04] + decoder: h264

      [13:23:04] + bitrate 3945 kbps

      [13:23:04] + filters

      [13:23:04] + Decomb (mode=7)

      [13:23:04] + Framerate Shaper (mode=0)

      [13:23:04] + frame rate: same as source (around 25.000 fps)

      [13:23:04] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)

      [13:23:04] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720

      [13:23:04] + Output geometry

      [13:23:04] + storage dimensions: 1280 x 720

      [13:23:04] + pixel aspect ratio: 1 : 1

      [13:23:04] + display dimensions: 1280 x 720

      [13:23:04] + encoder: H.265 (libx265)

      [13:23:04] + preset: medium

      [13:23:04] + profile: auto

      [13:23:04] + bitrate: 100 kbps, pass: 1

      [13:23:04] + fast first pass

      [13:23:04] * audio track 1

      [13:23:04] + decoder: English (AAC) (5.1 ch) (track 1, id 0x1)

      [13:23:04] + bitrate: 428 kbps, samplerate: 48000 Hz

      [13:23:04] + mixdown: Mono

      [13:23:04] + dither: triangular

      [13:23:04] + encoder: HE-AAC (libfdk_aac)

      [13:23:04] + bitrate: 32 kbps, samplerate: 48000 Hz

      [13:23:04] sync: expecting 825 video frames

      x265 [info]: HEVC encoder version 2.7+348-0968a46

      x265 [info]: build info [Windows][GCC 7.3.0][64 bit] 8bit+10bit+12bit

      x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

      x265 [info]: Main profile, Level-3.1 (Main tier)

      x265 [info]: Thread pool created using 4 threads

      x265 [info]: Slices : 1

      x265 [info]: frame threads / pool features : 2 / wpp(12 rows)

      ~~~

      and suddenly exits. No output file is produced.

Whereas the working one (HandBrake 20180501194504-63a5558-master (2018050301) - MinGW x86_64) goes like...
~~~
[13:26:20] hb_init: starting libhb thread
[13:26:20] thread 7a56a90 started ("libhb")
HandBrake 20180501194504-63a5558-master (2018050301) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening trailer_720p.mov...
[13:26:20] CPU: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
[13:26:20] - Intel microarchitecture Skylake
[13:26:20] - logical processor count: 4
[13:26:20] Intel Quick Sync Video support: yes
[13:26:20] - Intel Media SDK hardware: API 1.25 (minimum: 1.3)
[13:26:20] - H.264 encoder: yes
[13:26:20] - preferred implementation: hardware (any) via D3D11
[13:26:20] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:26:20] - H.265 encoder: yes (8bit: yes, 10bit: no)
[13:26:20] - preferred implementation: hardware (any) via D3D11
[13:26:20] - capabilities (hardware): bpyramid icq vsinfo opt1
[13:26:20] hb_scan: path=trailer_720p.mov, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image trailer_720p.mov
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMVBACKUP\index.bdmv
[13:26:20] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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:26:20] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'trailer_720p.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-03-18 12:45:48
Duration: 00:00:33.00, start: 0.000000, bitrate: 4317 kb/s
Stream #0:0(eng): Video: h264 (Main) [avc1 / 0x31637661]
yuv420p, tv, bt709/bt709/bt709
1280x720, 3945 kb/s
25 fps, 600 tbn (default)
Metadata:
creation_time : 2008-03-18 12:45:48
handler_name : Apple Alias Data Handler
encoder : H.264
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
48000 Hz, 5.1, fltp, 428 kb/s (default)
Metadata:
creation_time : 2008-03-18 12:45:48
handler_name : Apple Alias Data Handler
[13:26:20] scan: decoding previews for title 1
[13:26:20] scan: audio 0x1: aac, rate=48000Hz, bitrate=428605 English (AAC) (5.1 ch)
Scanning title 1 of 1, preview 5, 50.00 %[13:26:20] scan: 10 previews, 1280x720, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:26:20] scan: supported video decoders: avcodec qsv
[13:26:20] libhb: scan thread found 1 valid title(s)

  • Using preset: CLI Default
  • title 1:

    • stream: trailer_720p.mov

    • duration: 00:00:33

    • size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 25.000 fps

    • autocrop: 0/0/0/0

    • chapters:

    • 1: cells 0->0, 0 blocks, duration 00:00:33

    • audio tracks:

    • 1, English (AAC) (5.1 ch) (iso639-2: eng)

    • subtitle tracks:

      [13:26:20] 1 job(s) to process

      [13:26:20] json job:

      {

      "Audio": {

      "AudioList": [

      {

      "Bitrate": 32,

      "Encoder": 8388608,

      "Mixdown": 1,

      "Samplerate": 0,

      "Track": 0

      }

      ],

      "CopyMask": [

      "copy:aac",

      "copy:ac3",

      "copy:eac3",

      "copy:dtshd",

      "copy:dts",

      "copy:mp3",

      "copy:truehd",

      "copy:flac"

      ],

      "FallbackEncoder": "fdk_aac"

      },

      "Destination": {

      "AlignAVStart": false,

      "ChapterList": [

      {

      "Name": ""

      }

      ],

      "ChapterMarkers": false,

      "File": "D:\video\trailer_720p.mov",

      "InlineParameterSets": false,

      "Mp4Options": {

      "IpodAtom": false,

      "Mp4Optimize": false

      },

      "Mux": "m4v"

      },

      "Filters": {

      "FilterList": [

      {

      "ID": 4,

      "Settings": {

      "mode": "7"

      }

      },

      {

      "ID": 6,

      "Settings": {

      "mode": 0

      }

      },

      {

      "ID": 11,

      "Settings": {

      "crop-bottom": 0,

      "crop-left": 0,

      "crop-right": 0,

      "crop-top": 0,

      "height": 720,

      "width": 1280

      }

      }

      ]

      },

      "Metadata": {},

      "PAR": {

      "Den": 1,

      "Num": 1

      },

      "SequenceID": 0,

      "Source": {

      "Angle": 0,

      "Path": "trailer_720p.mov",

      "Range": {

      "End": 1,

      "Start": 1,

      "Type": "chapter"

      },

      "Title": 1

      },

      "Subtitle": {

      "Search": {

      "Burn": true,

      "Default": false,

      "Enable": false,

      "Forced": false

      },

      "SubtitleList": []

      },

      "Video": {

      "Bitrate": 100,

      "ColorMatrixCode": 0,

      "Encoder": "x265",

      "Preset": "medium",

      "Profile": "auto",

      "QSV": {

      "AsyncDepth": 4,

      "Decode": false

      },

      "Turbo": true,

      "TwoPass": true

      }

      }

      [13:26:20] starting job

      [13:26:20] job configuration:

      [13:26:20] yadif thread started for segment 0

      [13:26:20] yadif thread started for segment 2

      [13:26:20] yadif thread started for segment 1

      [13:26:20] yadif thread started for segment 3

      [13:26:20] * source

      [13:26:20] + trailer_720p.mov

      [13:26:20] + title 1, chapter(s) 1 to 1

      [13:26:20] + container: mov,mp4,m4a,3gp,3g2,mj2

      [13:26:20] + data rate: 4317 kbps

      [13:26:20] * destination

      [13:26:20] + D:\video\trailer_720p.mov

      [13:26:20] + container: MPEG-4 (libavformat)

      [13:26:20] * video track

      [13:26:20] + decoder: h264

      [13:26:20] + bitrate 3945 kbps

      [13:26:20] + filters

      [13:26:20] + Decomb (mode=7)

      [13:26:20] + Framerate Shaper (mode=0)

      [13:26:20] + frame rate: same as source (around 25.000 fps)

      [13:26:20] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)

      [13:26:20] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720

      [13:26:20] + Output geometry

      [13:26:20] + storage dimensions: 1280 x 720

      [13:26:20] + pixel aspect ratio: 1 : 1

      [13:26:20] + display dimensions: 1280 x 720

      [13:26:20] + encoder: H.265 (libx265)

      [13:26:20] + preset: medium

      [13:26:20] + profile: auto

      [13:26:20] + bitrate: 100 kbps, pass: 1

      [13:26:20] + fast first pass

      [13:26:20] * audio track 1

      [13:26:20] + decoder: English (AAC) (5.1 ch) (track 1, id 0x1)

      [13:26:20] + bitrate: 428 kbps, samplerate: 48000 Hz

      [13:26:20] + mixdown: Mono

      [13:26:20] + dither: triangular

      [13:26:20] + encoder: HE-AAC (libfdk_aac)

      [13:26:20] + bitrate: 32 kbps, samplerate: 48000 Hz

      [13:26:20] sync: expecting 825 video frames

      x265 [info]: HEVC encoder version 2.7+346-69aafa6

      x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit+10bit+12bit

      x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

      x265 [info]: Main profile, Level-3.1 (Main tier)

      x265 [info]: Thread pool created using 4 threads

      x265 [info]: Slices : 1

      x265 [info]: frame threads / pool features : 2 / wpp(12 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 : dia / 57 / 2 / 1

      x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00

      x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2

      x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0

      x265 [info]: References / ref-limit cu / depth : 1 / on / on

      x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1

      x265 [info]: Rate Control / qCompress : ABR-100 kbps / 0.60

      x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra

      x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao stats-write

      [13:26:20] sync: first pts video is 0

      [13:26:20] sync: Chapter 1 at frame 1 time 0

      [13:26:20] sync: first pts audio 0x1 is 0

      [13:26:53] reader: done. 1 scr changes

      [13:26:58] work: average encoding speed for job is 22.883226 fps

      [13:26:59] decomb: deinterlaced 812 | blended 0 | unfiltered 0 | total 812

      [13:26:59] vfr: lost time: 0 (0 frames)

      [13:26:59] vfr: gained time: 0 (0 frames) (0 not accounted for)

      [13:26:59] aac-decoder done: 1547 frames, 0 decoder errors

      [13:26:59] h264-decoder done: 812 frames, 0 decoder errors

      [13:26:59] sync: got 812 frames, 825 expected

      [13:26:59] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps

      x265 [info]: frame I: 16, Avg QP:38.36 kb/s: 1224.17

      x265 [info]: frame P: 248, Avg QP:42.10 kb/s: 225.11

      x265 [info]: frame B: 548, Avg QP:45.82 kb/s: 30.05

      x265 [info]: Weighted P-Frames: Y:17.3% UV:16.9%

      x265 [info]: consecutive B-frames: 23.9% 9.5% 8.0% 52.7% 6.1%

encoded 812 frames in 38.16s (21.28 fps), 113.16 kb/s, Avg QP:44.54
[13:26:59] starting job
[13:26:59] job configuration:
[13:26:59] * source
[13:26:59] yadif thread started for segment 1
[13:26:59] yadif thread started for segment 3
[13:26:59] + trailer_720p.mov
[13:26:59] yadif thread started for segment 0
[13:26:59] yadif thread started for segment 2
[13:26:59] + title 1, chapter(s) 1 to 1
[13:26:59] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:26:59] + data rate: 4317 kbps
[13:26:59] * destination
[13:26:59] + D:\video\trailer_720p.mov
[13:26:59] + container: MPEG-4 (libavformat)
[13:26:59] * video track
[13:26:59] + decoder: h264
[13:26:59] + bitrate 3945 kbps
[13:26:59] + filters
[13:26:59] + Decomb (mode=7)
[13:26:59] + Framerate Shaper (mode=0)
[13:26:59] + frame rate: same as source (around 25.000 fps)
[13:26:59] + Crop and Scale (width=1280:height=720:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[13:26:59] + source: 1280 * 720, crop (0/0/0/0): 1280 * 720, scale: 1280 * 720
[13:26:59] + Output geometry
[13:26:59] + storage dimensions: 1280 x 720
[13:26:59] + pixel aspect ratio: 1 : 1
[13:26:59] + display dimensions: 1280 x 720
[13:26:59] + encoder: H.265 (libx265)
[13:26:59] + preset: medium
[13:26:59] + profile: auto
[13:26:59] + bitrate: 100 kbps, pass: 2
[13:26:59] * audio track 1
[13:26:59] + decoder: English (AAC) (5.1 ch) (track 1, id 0x1)
[13:26:59] + bitrate: 428 kbps, samplerate: 48000 Hz
[13:26:59] + mixdown: Mono
[13:26:59] + dither: triangular
[13:26:59] + encoder: HE-AAC (libfdk_aac)
[13:26:59] + bitrate: 32 kbps, samplerate: 48000 Hz
[13:26:59] sync: expecting 812 video frames
x265 [info]: HEVC encoder version 2.7+346-69aafa6
x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-3.1 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 2 / wpp(12 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 : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
x265 [info]: References / ref-limit cu / depth : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : ABR-100 kbps / 0.60
x265 [info]: tools: rd=3 psy-rd=2.00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: lslices=4 deblock sao stats-read
[13:26:59] sync: first pts video is 0
[13:26:59] sync: Chapter 1 at frame 1 time 0
[13:26:59] sync: first pts audio 0x1 is 0
[13:27:37] reader: done. 1 scr changes
[13:27:42] work: average encoding speed for job is 19.610355 fps
[13:27:42] decomb: deinterlaced 812 | blended 0 | unfiltered 0 | total 812
[13:27:43] vfr: lost time: 0 (0 frames)
[13:27:43] vfr: gained time: 0 (0 frames) (0 not accounted for)
[13:27:43] aac-decoder done: 1547 frames, 0 decoder errors
[13:27:43] h264-decoder done: 812 frames, 0 decoder errors
[13:27:43] sync: got 812 frames, 812 expected
[13:27:43] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x265 [info]: frame I: 16, Avg QP:39.10 kb/s: 1010.83
x265 [info]: frame P: 248, Avg QP:43.59 kb/s: 193.38
x265 [info]: frame B: 548, Avg QP:47.76 kb/s: 34.72
x265 [info]: Weighted P-Frames: Y:17.7% UV:17.3%
x265 [info]: consecutive B-frames: 23.9% 9.5% 8.0% 52.7% 6.1%

encoded 812 frames in 43.92s (18.49 fps), 102.41 kb/s, Avg QP:46.32
[13:27:43] mux: track 0, 812 frames, 419032 bytes, 101.46 kbps, fifo 1024
[13:27:43] mux: track 1, 776 frames, 132438 bytes, 32.07 kbps, fifo 1024
[13:27:43] libhb: work result = 0

Encode done!
HandBrake has exited.
~~~

I know the fact that GCC 7.3 somehow breaks the binary even though the final compile message ends with SUCCESS. I had tested GCC 7.3 before the change set came in. The results are all the same with various x265 sources. GCC 7.2 does not produce bad ones, but 7.3 always produces bad ones. Actually, I was waiting for a new toolchain with GCC 7.3, so I gave it a try and failed. This may be upstream (x265 or GCC) issue, but I file it anyway.

Bug

All 3 comments

HEVC encoder version 2.7+348-0968a46

Current HandBrake is shipping x265 2.6. You cannot drop in 2.7 without additional changes.

That said, I will investigate to make sure there isn't breakage with the standard contribs.

Fixed, thanks for catching that.

Thank you. Degrading to binutils 2.91 works fine. Confirmed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeremymeyers picture jeremymeyers  路  4Comments

AnotherDimension-Ex picture AnotherDimension-Ex  路  4Comments

Vuurvlieg picture Vuurvlieg  路  5Comments

toam-plus picture toam-plus  路  3Comments

a7dfj8aerj picture a7dfj8aerj  路  3Comments