Error when loading preset

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
NickSteel
Posts: 20
Joined: Sat Jun 15, 2019 5:18 pm

Error when loading preset

Post by NickSteel »

Description of problem or question:

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_FlipVideo(Boolean 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):

When trying to load any preset.


HandBrake version (e.g., 1.0.0):

1.4.0 (2021071800)


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

Windows 10 Pro
21H1
8/‎20/‎2020
19043.1110

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

Code: Select all

Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
If you are unable to do so, please state why so we can help you.
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Error when loading preset

Post by s55 »

Can you post the scan log that goes along with that please?
NickSteel
Posts: 20
Joined: Sat Jun 15, 2019 5:18 pm

Re: Error when loading preset

Post by NickSteel »

HandBrake 1.4.0 (2021071800)
OS: Microsoft Windows NT 10.0.19043.0
CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
Ram: 7887 MB,
GPU Information:
Intel(R) HD Graphics 4000 - 10.18.10.5161
Screen: 1366x768
Temp Dir: C:\Users\X230\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\X230\AppData\Roaming\HandBrake

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

[16:30:24] hb_init: starting libhb thread

# Starting Scan ...

[16:30:24] CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
[16:30:24] - Intel microarchitecture Ivy Bridge
[16:30:24] - logical processor count: 4
[16:30:24] Intel Quick Sync Video support: yes, gpu list: 0
[16:30:24] Intel Quick Sync Video integrated adapter with index 0
[16:30:24] - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[16:30:24] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[16:30:24] - H.264 encoder: yes
[16:30:24] - preferred implementation: hardware (1) via D3D11
[16:30:24] - capabilities (hardware): breftype vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[16:30:24] - H.265 encoder: no
[16:30:24] hb_scan: path=C:\Users\X230\Videos\OBS\0103 Skipper The Eyechild.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\X230\Videos\OBS\0103 Skipper The Eyechild.mp4
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(C:\Users\X230\Videos\OBS\0103 Skipper The Eyechild.mp4\) failed
[16:30:24] bd: not a bd - trying as a stream/file instead
libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[16:30:24] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\X230\Videos\OBS\0103 Skipper The Eyechild.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.29.100
Duration: 00:26:45.03, start: 0.000000, bitrate: 4870 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1364x768 [SAR 1:1 DAR 341:192], 4713 kb/s, 60 fps, 60 tbr, 15360 tbn, 120 tbc (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 146 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
title : Track1
[16:30:24] scan: decoding previews for title 1
[16:30:24] scan: audio 0x1: aac, rate=44100Hz, bitrate=146924 Unknown (AAC LC) (2.0 ch) (146 kbps)
[16:30:24] scan: 10 previews, 1364x768, 60.000 fps, autocrop = 0/0/46/6, aspect 1.78:1, PAR 1:1, color profile: 1-1-1
[16:30:24] scan: supported video decoders: avcodec qsv
[16:30:24] libhb: scan thread found 1 valid title(s)

# Processing Scan Information ...



# Scan Finished ...


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_FlipVideo(Boolean 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)
Post Reply