Unknown error selecting presets

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
xray119
New User
Posts: 1
Joined: Tue Nov 30, 2021 3:53 am

Unknown error selecting presets

Post by xray119 »

Description of problem or question:

Just installed latest version of HB and .NET 5.0.12. After adding a source and selecting/changing a preset, this error message appears in a pop up window:

An Unknown Error has occurred.
System.FormatException: Input string was not in a correct format.
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
at System.Int32.Parse(String s)
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.get_DisplayWidth()
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.GetPictureSettings(ChangedPictureField changedField)
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.HandleRotationFlipChange(FlipRotationCommand command)
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.OnFlipRotateChanged(FlipRotationCommand e)
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.<.ctor>b__10_1(FlipRotationCommand e)
at HandBrakeWPF.ViewModelItems.Filters.RotateFlipFilter.set_SelectedRotation(Int32 value)
at HandBrakeWPF.ViewModelItems.Filters.RotateFlipFilter.SetPreset(Preset preset, EncodeTask task)
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.SetPreset(Preset preset, EncodeTask task)
at HandBrakeWPF.ViewModels.MainViewModel.PresetSelect(Object tag)
at HandBrakeWPF.Commands.PresetMenuSelectCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Steps to reproduce the problem (If Applicable):

Restarted app, rebooted computer, uninstalled/reinstalled app.


HandBrake version (e.g., 1.0.0):

1.4.2 (2021100300)


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

Windows 10


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

Code: Select all

   HandBrake 1.4.2 (2021100300)
OS: Microsoft Windows NT 10.0.19043.0
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 16221 MB, 
GPU Information:
  Intel(R) HD Graphics 630 - 27.20.100.8854
Screen: 3840x2160
Temp Dir: C:\Users\dqall\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\dqall\AppData\Roaming\HandBrake

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

[22:20:36] hb_init: starting libhb thread

 # Starting Scan ...

[22:20:36] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[22:20:36]  - Intel microarchitecture Kaby Lake
[22:20:36]  - logical processor count: 8
[22:20:36] Intel Quick Sync Video support: yes, gpu list: 0
[22:20:36] Intel Quick Sync Video integrated adapter with index 0
[22:20:36]  - Intel Media SDK hardware: API 1.33 (minimum: 1.3)
[22:20:36]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes)
[22:20:36]  - H.264 encoder: yes
[22:20:36]     - preferred implementation: hardware (1) via D3D11
[22:20:36]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[22:20:36]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[22:20:36]     - preferred implementation: hardware (1) via D3D11
[22:20:36]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[22:20:36] hb_scan: path=Y:\Media\Movies\Blade Runner 2049 (2017), title_index=0
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
src/libbluray/bluray.c:2646: nav_get_title_list(Y:\Media\Movies\Blade Runner 2049 (2017)\) failed
[22:20:36] bd: not a bd - trying as a stream/file instead
libdvdread: Could not open input:
libdvdread: Can't open Y:\Media\Movies\Blade Runner 2049 (2017) for reading
libdvdread: Device Y:\Media\Movies\Blade Runner 2049 (2017) inaccessible, CSS authentication not available.
libdvdread: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[22:20:36] dvd: not a dvd - trying as a stream/file instead
[22:20:36] batch: scanning Y:\Media\Movies\Blade Runner 2049 (2017)\Blade Runner 2049 (2017).mkv
Input #0, matroska,webm, from 'Y:\Media\Movies\Blade Runner 2049 (2017)\Blade Runner 2049 (2017).mkv':
  Metadata:
    title           : Blade Runner 2049
    encoder         : libmakemkv v1.12.0 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2018-03-26T00:06:32.000000Z
  Duration: 02:43:47.82, start: 0.000000, bitrate: 27887 kb/s
  Chapters:
    Chapter #0:0: start 0.000000, end 770.269500
      Metadata:
        title           : Chapter 01
    Chapter #0:1: start 770.269500, end 1423.380292
      Metadata:
        title           : Chapter 02
    Chapter #0:2: start 1423.380292, end 2234.857625
      Metadata:
        title           : Chapter 03
    Chapter #0:3: start 2234.857625, end 2584.248333
      Metadata:
        title           : Chapter 04
    Chapter #0:4: start 2584.248333, end 2978.600625
      Metadata:
        title           : Chapter 05
    Chapter #0:5: start 2978.600625, end 3529.609417
      Metadata:
        title           : Chapter 06
    Chapter #0:6: start 3529.609417, end 3864.485625
      Metadata:
        title           : Chapter 07
    Chapter #0:7: start 3864.485625, end 4561.014792
      Metadata:
        title           : Chapter 08
    Chapter #0:8: start 4561.014792, end 5126.412958
      Metadata:
        title           : Chapter 09
    Chapter #0:9: start 5126.412958, end 5789.158375
      Metadata:
        title           : Chapter 10
    Chapter #0:10: start 5789.158375, end 6668.953958
      Metadata:
        title           : Chapter 11
    Chapter #0:11: start 6668.953958, end 7310.761792
      Metadata:
        title           : Chapter 12
    Chapter #0:12: start 7310.761792, end 7734.476750
      Metadata:
        title           : Chapter 13
    Chapter #0:13: start 7734.476750, end 8216.583375
      Metadata:
        title           : Chapter 14
    Chapter #0:14: start 8216.583375, end 8880.913708
      Metadata:
        title           : Chapter 15
    Chapter #0:15: start 8880.913708, end 9827.818000
      Metadata:
        title           : Chapter 16
  Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 20337107
      DURATION-eng    : 02:43:47.818000000
      NUMBER_OF_FRAMES-eng: 235632
      NUMBER_OF_BYTES-eng: 24983674415
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-26 00:06:32
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 3710312
      DURATION-eng    : 02:43:47.818333333
      NUMBER_OF_FRAMES-eng: 11793382
      NUMBER_OF_BYTES-eng: 4558034946
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-26 00:06:32
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
  Stream #0:2(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 3825851
      DURATION-eng    : 02:43:47.818666666
      NUMBER_OF_FRAMES-eng: 921358
      NUMBER_OF_BYTES-eng: 4699971748
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.12.0 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-26 00:06:32
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[22:20:36] scan: decoding previews for title 1 (Y:\Media\Movies\Blade Runner 2049 (2017)\Blade Runner 2049 (2017).mkv)
[22:20:36] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[22:20:36] scan: audio 0x2: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[22:20:37] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1
[22:20:37] scan: supported video decoders: avcodec qsv
[22:20:37] libhb: scan thread found 1 valid title(s)

 # Processing Scan Information ...


 # Scan Finished ...


Post Reply