Handbrake crashes at start of encode

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Maplicito
Posts: 8
Joined: Sat May 27, 2017 8:49 pm

Handbrake crashes at start of encode

Post by Maplicito »

I'm running Handbrake 1.07 on an i7 6700K running Windows 10. I was previously running 1.02 or 1.03, and it ran fine, but when I tried it today, it would crash every time I started an encode, so I upgraded to 1.07, however the problem is persisting. I've tried changing a couple of settings, or starting with a different file to convert, but Handbrake still crashes as soon as I start the encode.

Code: Select all

HandBrake 1.0.7 (2017040900) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
Ram: 16261 MB, 
GPU Information:
  Radeon (TM) RX 480 Graphics - 16.300.2311.0
  Intel(R) HD Graphics 530 - 21.20.16.4534
Screen: 3840x2160
Temp Dir: C:\Users\Bryan\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Bryan\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0

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


# Starting Encode ...

[14:44:36] hb_init: starting libhb thread
[14:44:36] 1 job(s) to process
[14:44:36] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 256,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      }
    ],
    "ChapterMarkers": true,
    "File": "D:\\Converted Videos\\Bones - S06E01 The Mastodon in the Room.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "480",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 32,
    "Den": 27
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 12
    },
    "Title": 1,
    "Path": "D:\\Handbrake Videos\\Bones - S06E01 The Mastodon in the Room.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 4,
        "Offset": 0,
        "Track": 3
      }
    ]
  },
  "Video": {
    "Encoder": 4096,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slower",
    "Profile": "auto",
    "Quality": 19.0,
    "OpenCL": true,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[14:44:36] CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
[14:44:36]  - Intel microarchitecture Skylake
[14:44:36]  - logical processor count: 8
[14:44:36] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 530
[14:44:36]  - OpenCL version: 2.0
[14:44:36]  - driver version: 21.20.16.4534
[14:44:36]  - device type:    GPU
[14:44:36]  - supported:      YES
[14:44:36] OpenCL device #2: Advanced Micro Devices, Inc. Ellesmere
[14:44:36]  - OpenCL version: 2.0 AMD-APP (2117.9)
[14:44:36]  - driver version: 2117.9 (VM)
[14:44:36]  - device type:    GPU
[14:44:36]  - supported:      YES
[14:44:36] Intel Quick Sync Video support: yes
[14:44:36]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[14:44:36]  - H.264 encoder: yes
[14:44:36]     - preferred implementation: hardware (any)
[14:44:36]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[14:44:36]  - H.265 encoder: yes
[14:44:36]     - preferred implementation: hardware (any)
[14:44:36]     - capabilities (hardware):  bpyramid vsinfo opt1
[14:44:36] hb_scan: path=D:\Handbrake Videos\Bones - S06E01 The Mastodon in the Room.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\Handbrake Videos\Bones - S06E01 The Mastodon in the Room.mkv
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[14:44:36] 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
[14:44:36] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'D:\Handbrake Videos\Bones - S06E01 The Mastodon in the Room.mkv':
  Duration: 00:43:54.03, start: 0.000000, bitrate: N/A
    Chapter #0:0: start 0.000000, end 513.012500
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 513.012500, end 711.377333
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 711.377333, end 871.370500
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 871.370500, end 1064.930533
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1064.930533, end 1221.053167
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1221.053167, end 1412.077333
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1412.077333, end 1550.582367
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1550.582367, end 1775.106667
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 1775.106667, end 2009.040367
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2009.040367, end 2140.138000
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2140.138000, end 2422.920500
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2422.920500, end 2634.031400
    Metadata:
      title           : Chapter 12
    Stream #0:0(eng): Video: mpeg2video (Main)
      yuv420p, tv, smpte170m/smpte170m/smpte170m
      720x480 [PAR 32:27 DAR 16:9], 9800 kb/s, PAR 186:157 DAR 279:157
      29.97 fps, 1k tbn
    Metadata:
      BPS-eng         : 5299177
      DURATION-eng    : 00:43:54.031400000
      NUMBER_OF_FRAMES-eng: 63154
      NUMBER_OF_BYTES-eng: 1744774760
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-14 23:09:02
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3
      48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 448000
      DURATION-eng    : 00:43:54.048000000
      NUMBER_OF_FRAMES-eng: 82314
      NUMBER_OF_BYTES-eng: 147506688
      SOURCE_ID-eng   : 0180BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-14 23:09:02
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: dvd_subtitle (default)
    Metadata:
      BPS-eng         : 4862
      DURATION-eng    : 00:43:51.695211111
      NUMBER_OF_FRAMES-eng: 790
      NUMBER_OF_BYTES-eng: 1599598
      SOURCE_ID-eng   : 0120BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-14 23:09:02
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(spa): Subtitle: dvd_subtitle
    Metadata:
      BPS-eng         : 4694
      DURATION-eng    : 00:43:51.695211111
      NUMBER_OF_FRAMES-eng: 740
      NUMBER_OF_BYTES-eng: 1544470
      SOURCE_ID-eng   : 0122BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-14 23:09:02
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(fre): Subtitle: dvd_subtitle
    Metadata:
      BPS-eng         : 4854
      DURATION-eng    : 00:43:51.695211111
      NUMBER_OF_FRAMES-eng: 752
      NUMBER_OF_BYTES-eng: 1597026
      SOURCE_ID-eng   : 0124BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-14 23:09:02
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(por): Subtitle: dvd_subtitle
    Metadata:
      BPS-eng         : 4083
      DURATION-eng    : 00:43:51.695211111
      NUMBER_OF_FRAMES-eng: 747
      NUMBER_OF_BYTES-eng: 1343160
      SOURCE_ID-eng   : 0126BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.5 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2017-05-14 23:09:02
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[14:44:36] scan: decoding previews for title 1
[14:44:36] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[14:44:36] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 32:27
[14:44:36] libhb: scan thread found 1 valid title(s)
Maplicito
Posts: 8
Joined: Sat May 27, 2017 8:49 pm

Re: Handbrake crashes at start of encode

Post by Maplicito »

Anybody have any ideas or insights?
rollin_eng
Veteran User
Posts: 4857
Joined: Wed May 04, 2011 11:06 pm

Re: Handbrake crashes at start of encode

Post by rollin_eng »

That's your scan log, can you post the encode log from the crash?
Maplicito
Posts: 8
Joined: Sat May 27, 2017 8:49 pm

Re: Handbrake crashes at start of encode

Post by Maplicito »

I'm looking in the log folder, and from the days I've tried to encode, I have only found files called "Activity log" - from days when it was working, I can see logs named after the files I was encoding. Does that mean it's not getting far enough to create an encode log? Sorry, I'm a bit of a neophyte.
rollin_eng
Veteran User
Posts: 4857
Joined: Wed May 04, 2011 11:06 pm

Re: Handbrake crashes at start of encode

Post by rollin_eng »

Actually that may be your encode log its just not getting past the scan part.

What happens to HB crash wise?
Maplicito
Posts: 8
Joined: Sat May 27, 2017 8:49 pm

Re: Handbrake crashes at start of encode

Post by Maplicito »

Image

That's as far as I get. I click to start encoding, and it hesitates for a moment, then before it can actually start encoding, it crashes, Windows looks briefly for a solution (not finding it of course), and then says it needs to close the program. I have tried H264 encoding as well, with the same result, so it shouldn't be a problem with H265.
User avatar
s55
HandBrake Team
Posts: 10358
Joined: Sun Dec 24, 2006 1:05 pm

Re: Handbrake crashes at start of encode

Post by s55 »

Tools -> Options -> Video -> Scaling: Set to Lanczos
Disabling the OpenCL scaling will actually be faster on your system and I'm pretty sure it'll fix your crash as well.
Maplicito
Posts: 8
Joined: Sat May 27, 2017 8:49 pm

Re: Handbrake crashes at start of encode

Post by Maplicito »

That seems to have done it - thank you!
Post Reply