I am trying to add file 1 at a time in some instaces but keep getting an error message
Steps to reproduce the problem (If Applicable):
It always happens when selecting open single file. Adding files externally or foldes still work fine
HandBrake version (e.g., 1.0.0):
1.3.3
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 20H2
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
Error:
An Unknown Error has occurred.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Value does not fall within the expected range.
at MS.Internal.AppModel.ShellUtil.GetShellItemForPath(String path)
at Microsoft.Win32.FileDialog.PrepareVistaDialog(IFileDialog dialog)
at Microsoft.Win32.FileDialog.RunVistaDialog(IntPtr hwndOwner)
at Microsoft.Win32.CommonDialog.ShowDialog()
at HandBrakeWPF.ViewModels.MainViewModel.FileScan() in C:\TeamCity\buildAgent\work\f59d4bfd6460bac1\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 1575
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Caliburn.Micro.ActionMessage.<>c.<.cctor>b__33_0(ActionExecutionContext context)
at Caliburn.Micro.ActionMessage.Invoke(Object eventArgs)
at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
From Log:
HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19042.0
CPU: AMD Ryzen 5 3600 6-Core Processor
Ram: 32685 MB,
GPU Information:
AMD Radeon RX 5600 XT - 27.20.14501.18003
Screen: 1360x768
Temp Dir: C:\Users\macsh\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\macsh\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[06:03:58] base preset: Very Fast 1080p30 (Modified)
[18:03:58] hb_init: starting libhb thread
[18:03:58] Starting work at: Sat Feb 20 18:03:58 2021
[18:03:58] 1 job(s) to process
[18:03:58] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": "av_aac",
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "\\\\Desktop-q529k2d\\d\\Torrents\\Converted\\The.Wild.Thornberrys.S04e02.The.Origin.Of.Donnie.Part.2.480P.Dvdrip.Dd2.0.X264-Sa89-2.mkv",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mkv"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "80",
"block-width": "16",
"filter-mode": "1",
"mode": "0",
"motion-thresh": "2",
"spatial-metric": "2",
"spatial-thresh": "3"
}
},
{
"ID": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "480",
"width": "640"
}
},
{
"ID": 6,
"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": 2,
"Path": "\\\\Desktop-q529k2d\\d\\Torrents\\Completed\\The.Wild.Thornberrys.S04.DVDRip.x264-SA89[rartv]\\The.Wild.Thornberrys.S04E02.The.Origin.of.Donnie.Part.2.480p.DVDRip.DD2.0.x264-SA89.mkv"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "x265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "fast",
"Profile": "auto",
"Quality": 24.0,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[18:03:58] CPU: AMD Ryzen 5 3600 6-Core Processor
[18:03:58] - logical processor count: 12
[18:03:58] Intel Quick Sync Video support: no
[18:03:58] hb_scan: path=\\Desktop-q529k2d\d\Torrents\Completed\The.Wild.Thornberrys.S04.DVDRip.x264-SA89[rartv]\The.Wild.Thornberrys.S04E02.The.Origin.of.Donnie.Part.2.480p.DVDRip.DD2.0.x264-SA89.mkv, title_index=2
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image \\Desktop-q529k2d\d\Torrents\Completed\The.Wild.Thornberrys.S04.DVDRip.x264-SA89[rartv]\The.Wild.Thornberrys.S04E02.The.Origin.of.Donnie.Part.2.480p.DVDRip.DD2.0.x264-SA89.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(\\Desktop-q529k2d\d\Torrents\Completed\The.Wild.Thornberrys.S04.DVDRip.x264-SA89[rartv]\The.Wild.Thornberrys.S04E02.The.Origin.of.Donnie.Part.2.480p.DVDRip.DD2.0.x264-SA89.mkv\) failed
[18:03:58] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.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
[18:03:58] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '\\Desktop-q529k2d\d\Torrents\Completed\The.Wild.Thornberrys.S04.DVDRip.x264-SA89[rartv]\The.Wild.Thornberrys.S04E02.The.Origin.of.Donnie.Part.2.480p.DVDRip.DD2.0.x264-SA89.mkv':
Metadata:
encoder : libebml v1.3.0 + libmatroska v1.4.1
creation_time : 2014-05-18T10:14:19.000000Z
Duration: 00:23:35.42, start: 0.000000, bitrate: 2193 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 640x480, SAR 1:1 DAR 4:3, 24.64 fps, 24.64 tbr, 1k tbn, 180k tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
[18:03:58] scan: decoding previews for title 2
[18:03:58] scan: audio 0x1: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[18:03:58] scan: 10 previews, 640x480, 24.637 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[18:03:58] scan: supported video decoders: avcodec qsv
[18:03:58] libhb: scan thread found 1 valid title(s)
[18:03:58] Skipping subtitle scan. No suitable subtitle tracks.
[18:03:58] Starting Task: Encoding Pass
[18:03:58] Skipping crop/scale filter
[18:03:58] work: only 1 chapter, disabling chapter markers
[18:03:58] job configuration:
[18:03:58] * source
[18:03:58] + \\Desktop-q529k2d\d\Torrents\Completed\The.Wild.Thornberrys.S04.DVDRip.x264-SA89[rartv]\The.Wild.Thornberrys.S04E02.The.Origin.of.Donnie.Part.2.480p.DVDRip.DD2.0.x264-SA89.mkv
[18:03:58] + title 2, chapter(s) 1 to 1
[18:03:58] + container: matroska,webm
[18:03:58] + data rate: 2193 kbps
[18:03:58] * destination
[18:03:58] + \\Desktop-q529k2d\d\Torrents\Converted\The.Wild.Thornberrys.S04e02.The.Origin.Of.Donnie.Part.2.480P.Dvdrip.Dd2.0.X264-Sa89-2.mkv
[18:03:58] + container: Matroska (libavformat)
[18:03:58] * video track
[18:03:58] + decoder: h264
[18:03:58] + filters
[18:03:58] + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16)
[18:03:58] + Decomb (mode=39)
[18:03:58] + Framerate Shaper (mode=2:rate=27000000/900000)
[18:03:58] + frame rate: 24.637 fps -> peak rate limited to 30.000 fps
[18:03:58] + Output geometry
[18:03:58] + storage dimensions: 640 x 480
[18:03:58] + pixel aspect ratio: 1 : 1
[18:03:58] + display dimensions: 640 x 480
[18:03:58] + encoder: H.265 (libx265)
[18:03:58] + preset: fast
[18:03:58] + profile: auto
[18:03:58] + level: auto
[18:03:58] + quality: 24.00 (RF)
[18:03:58] + color profile: 6-1-6
[18:03:58] * audio track 1
[18:03:58] + decoder: English (AC3) (2.0 ch) (192 kbps) (track 1, id 0x1)
[18:03:58] + bitrate: 192 kbps, samplerate: 48000 Hz
[18:03:58] + mixdown: Stereo
[18:03:58] + dither: none
[18:03:58] + encoder: AAC (libavcodec)
[18:03:58] + bitrate: 160 kbps, samplerate: 48000 Hz
[18:03:58] sync: expecting 34872 video frames
x265 [info]: HEVC encoder version 3.2.1+1-b5c86a64bbbe
x265 [info]: build info [Windows][GCC 9.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 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 3 / wpp(8 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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 : 15 / 4 / 0
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 : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-24.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing deblock sao
[18:03:58] sync: first pts video is 0
[18:03:58] sync: "Chapter 1" (1) at frame 1 time 0
[18:03:58] sync: first pts audio 0x1 is 0
# Encode Paused
From what I can see the activity log is not picking up the error, all i get is that error above, I have added the log anyhow just to confirm. I tried again after pausing the queue but nothing logged