Handbrake keeps crashing

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
mrjohnw
New User
Posts: 1
Joined: Fri Mar 01, 2024 12:37 am

Handbrake keeps crashing

Post by mrjohnw »

Description of problem or question:

When I try to encode I get a pop up with an error message and then HB closes.

An Unknown Error has occurred.
System.AggregateException: One or more errors occurred. (A task was canceled.)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at HandBrakeWPF.Instance.RemoteInstance.RunEncodeInitProcess(JsonEncodeObject jobToStart)
at HandBrakeWPF.Instance.RemoteInstance.<>c__DisplayClass14_0.<StartEncode>b__0()
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Thread.StartCallback()
--- End of stack trace from previous location ---

--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at HandBrakeWPF.Instance.RemoteInstance.RunEncodeInitProcess(JsonEncodeObject jobToStart)
at HandBrakeWPF.Instance.RemoteInstance.<>c__DisplayClass14_0.<StartEncode>b__0()
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Thread.StartCallback()




Steps to reproduce the problem (If Applicable):
Uninstalled and reinstalled.




HandBrake version (e.g., 1.0.0):

1.7.3


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

Win 10 22H2


HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.7.3 (2024021000)
OS: Microsoft Windows NT 10.0.19045.0
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 65401 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 31.0.15.5161
  Intel(R) HD Graphics 630 - 27.20.100.8854 - (Unsupported Driver Detected)
Screen: 1536x864
Temp Dir: C:\Users\John Wao\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\John Wao\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[09:00:35] base preset: Fast 1080p30
[09:00:35] Remote Process started with Process ID: 35332 using port: 8037. Max Allowed Instances: 1
[09:00:35] Worker: Starting HandBrake Engine ...
[09:00:35] Worker: Parent Process Id 33084
[09:00:35] Worker: Starting Web Server on port 8037 ...
[09:00:35] Worker: Starting Listener: 1
[09:00:36] Worker: Server Started
[09:00:36] Worker: Disconnected worker monitoring enabled!
[09:00:36] Compile-time hardening features are enabled
[09:00:36] nvenc: version 12.2 is available
[09:00:36] nvdec: is available
[09:00:36] CUDA Version: 6.1
[09:00:36] vcn: not available on this system
[09:01:19] qsv: is available on this system
[09:01:19] hb_init: starting libhb thread
[09:01:19] Starting work at: Fri Mar 01 09:01:19 2024
[09:01:19] 1 job(s) to process
[09:01:19] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "D:\\Videos\\00023.mp4",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 5,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 4,
        "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": 19,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 10,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 8,
    "Path": "Y:\\BLU RAYS MASTERS\\CURSE OF CHUCKY (2013)\\BDMV\\STREAM\\00023.m2ts",
    "HWDecode": 6
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[09:01:19] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[09:01:19]  - Intel microarchitecture Kaby Lake
[09:01:19]  - logical processor count: 8
[09:01:19] Intel Quick Sync Video support: yes, gpu list: 1
[09:01:19] Intel Quick Sync Video integrated adapter with index 1
[09:01:19] Impl mfxhw64 library path: C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_bf3d3c13bc805109\libmfxhw64.dll
[09:01:19]  - Intel Media SDK hardware: API 1.33 (minimum: 1.3)
[09:01:19]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[09:01:19]  - H.264 encoder: yes
[09:01:19]     - preferred implementation: hardware (2) via D3D11
[09:01:19]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[09:01:19]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[09:01:19]     - preferred implementation: hardware (2) via D3D11
[09:01:19]     - capabilities (hardware):  bpyramid icq vsinfo masteringinfo cllinfo opt1
[09:01:19]  - AV1 encoder: no
[09:01:19] hb_scan: path=Y:\BLU RAYS MASTERS\CURSE OF CHUCKY (2013)\BDMV\STREAM\00023.m2ts, title_index=8
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image Y:\BLU RAYS MASTERS\CURSE OF CHUCKY (2013)\BDMV\STREAM\00023.m2ts
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[09:01:19] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdvdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
read: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[09:01:19] dvd: not a dvd - trying as a stream/file instead
[09:01:19] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[09:01:19] Found the following PIDS
[09:01:19]     Video PIDS :
[09:01:19]       0x1011 type H.264 (0x1b)
[09:01:19]     Audio PIDS :
[09:01:19]       0x1100 type DTS-HD MA (0x86)
[09:01:19]       0x1101 type DTS (0x82)
[09:01:19]       0x1102 type DTS (0x82)
[09:01:19]       0x1103 type AC3 (0x81)
[09:01:19]       0x1104 type AC3 (0x81)
[09:01:19]     Subtitle PIDS :
[09:01:19]       0x1200 type PGS Subtitle (0x90)
[09:01:19]       0x1201 type PGS Subtitle (0x90)
[09:01:19]       0x1202 type PGS Subtitle (0x90)
[09:01:19]       0x1203 type PGS Subtitle (0x90)
[09:01:19]       0x1204 type PGS Subtitle (0x90)
[09:01:19]     Other PIDS :
[09:01:19]       0x1001 type Unknown (0xff) (PCR)
[09:01:19] stream id 0x1100 (type 0x86 substream 0x71) audio 0x711100
[09:01:19] stream id 0x1100 (type 0x86 substream 0x0) audio 0x1100
[09:01:19] stream id 0x1101 (type 0x82 substream 0x0) audio 0x1101
[09:01:19] stream id 0x1102 (type 0x82 substream 0x0) audio 0x1102
[09:01:19] stream id 0x1103 (type 0x81 substream 0x0) audio 0x1103
[09:01:19] stream id 0x1104 (type 0x81 substream 0x0) audio 0x1104
[09:01:19] stream id 0x1200 (type 0x90 substream 0x0) subtitle 0x1200
[09:01:19] stream id 0x1201 (type 0x90 substream 0x0) subtitle 0x1201
[09:01:19] stream id 0x1202 (type 0x90 substream 0x0) subtitle 0x1202
[09:01:19] stream id 0x1203 (type 0x90 substream 0x0) subtitle 0x1203
[09:01:19] stream id 0x1204 (type 0x90 substream 0x0) subtitle 0x1204
[09:01:24] scan: decoding previews for title 8
[09:01:24] file is MPEG Transport Stream with 192 byte packets offset 4 bytes
[09:01:24] scan: audio 0x1101: dca, rate=48000Hz, bitrate=768000 Unknown (DTS, 5.1 ch, 768 kbps)
[09:01:24] scan: audio 0x1102: dca, rate=48000Hz, bitrate=768000 Unknown (DTS, 5.1 ch, 768 kbps)
[09:01:24] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=192000 Unknown (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[09:01:24] scan: audio 0x1104: ac3, rate=48000Hz, bitrate=192000 Unknown (AC3, 2.0 ch, Dolby Surround, 192 kbps)
[09:01:24] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 Unknown (DTS, 5.1 ch, 1536 kbps)
[09:01:24] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 Unknown (DTS-HD MA, 5.1 ch)
[09:01:27] stream: 32 good frames, 0 errors (0%)
[09:01:27] using bitstream PAR 1:1
[09:01:27] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[09:01:27] scan: supported video decoders: avcodec qsv
[09:01:27] libhb: scan thread found 1 valid title(s)
Post Reply