Keep getting error code when i try to add things to queue.

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
ram012593
Posts: 2
Joined: Mon Dec 24, 2018 2:47 pm

Keep getting error code when i try to add things to queue.

Post by ram012593 »

Description of problem or question:
Keep getting error code when i try to add things to queue.

An Unknown Error has occurred.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at HandBrakeWPF.ViewModels.PictureSettingsViewModel.SetSource(Source source, Title title, Preset preset, EncodeTask task) in D:\HandBrake\win\CS\HandBrakeWPF\ViewModels\PictureSettingsViewModel.cs:line 756
at HandBrakeWPF.ViewModels.MainViewModel.SetupTabs() in D:\HandBrake\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 2376
at HandBrakeWPF.ViewModels.MainViewModel.set_SelectedTitle(Title value) in D:\HandBrake\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 807
at HandBrakeWPF.ViewModels.MainViewModel.AddAllToQueue() in D:\HandBrake\win\CS\HandBrakeWPF\ViewModels\MainViewModel.cs:line 1624
--- 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.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):
Start Handbrake select a folder. Configure output file settings as
automatically name output files
output directory up to the last folder in the hierarchy with \{source_folder_name}
File format : {source}

Replace Underscores with space
Always use mp4

import custom preset and select it
click add to queue and add all or ad selection both will reproduce the error




HandBrake version (e.g., 1.0.0):
1.2.0



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

Windows 7 64 bit.


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

Code: Select all

HandBrake 1.2.0 (2018121700)
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
Ram: 16344 MB, 
GPU Information:
  AMD Radeon R9 200 Series - 25.20.14011.1003
Screen: 1920x1080
Temp Dir: C:\Users\Administrator\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Administrator\AppData\Roaming\HandBrake

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

Cannot load nvEncodeAPI64.dll
[09:52:51] hb_init: starting libhb thread

 # Starting Scan ...

[09:52:51] CPU: AMD Phenom(tm) II X6 1100T Processor
[09:52:51]  - logical processor count: 6
[09:52:51] Intel Quick Sync Video support: no
[09:52:51] hb_scan: path=D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8, title_index=0
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
[09:52:51] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8 for reading
libdvdread: Device D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8 inaccessible, CSS authentication not available.
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:52:51] dvd: not a dvd - trying as a stream/file instead
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x01 All Growed Up.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x01 All Growed Up.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
    IAS1            : English
  Duration: 00:45:04.30, start: 0.000000, bitrate: 1085 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 640x496 [SAR 1:1 DAR 40:31], 960 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 112 kb/s
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x02 - Bow Wow Wedding Vows.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x02 - Bow Wow Wedding Vows.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:23:24.53, start: 0.000000, bitrate: 1086 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 508x384 [SAR 1:1 DAR 127:96], 1024 kb/s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, fltp, 52 kb/s
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x03 Quiet Please ~ Early Retirement.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x03 Quiet Please ~ Early Retirement.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:22:56.88, start: 0.000000, bitrate: 1188 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 512x384 [SAR 1:1 DAR 4:3], 1067 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 108 kb/s
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x04 - The Doctor Is In~The Big Sneeze.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x04 - The Doctor Is In~The Big Sneeze.avi':
  Duration: 00:23:36.85, start: 0.000000, bitrate: 1033 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 893 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x05 - Curse of the Werewuff.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x05 - Curse of the Werewuff.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:23:17.47, start: 0.000000, bitrate: 1405 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 508x384 [SAR 1:1 DAR 127:96], 1343 kb/s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, fltp, 52 kb/s
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x06 - The Fun Way Day~The Age Of Aquarium.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x06 - The Fun Way Day~The Age Of Aquarium.avi':
  Duration: 00:23:31.08, start: 0.000000, bitrate: 1037 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 898 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
[09:52:51] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x07 - Daddy's Little Helpers~Hello Dilly.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x07 - Daddy's Little Helpers~Hello Dilly.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:22:08.54, start: 0.000000, bitrate: 1129 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 480x368 [SAR 1:1 DAR 30:23], 1066 kb/s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, fltp, 52 kb/s
[09:52:52] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x08 - Cythia Comes Alive - Trading Phil.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x08 - Cythia Comes Alive - Trading Phil.avi':
  Metadata:
    encoder         : MEncoder SVN-r30881(20100311-gcc4.3.3)
  Duration: 00:23:48.77, start: 0.000000, bitrate: 987 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 480x360 [SAR 1:1 DAR 4:3], 846 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, fltp, 128 kb/s
[09:52:52] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x09 -  (Special 4) - Murmur on the Ornery Express.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x09 -  (Special 4) - Murmur on the Ornery Express.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
  Duration: 00:22:29.93, start: 0.000000, bitrate: 1088 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 951 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
[09:52:52] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x10 - Back To School ~ Sweet Dreams.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x10 - Back To School ~ Sweet Dreams.avi':
  Duration: 00:23:31.11, start: 0.000000, bitrate: 1041 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 902 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
[09:52:52] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x11 - A Step At A Time~Angelica's Assistant.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x11 - A Step At A Time~Angelica's Assistant.avi':
  Duration: 00:23:36.65, start: 0.000000, bitrate: 1034 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 894 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
[09:52:52] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x12 - A Tale of Two Puppies ~ Okey-Dokey Jones and the Ring of the Sunbeams.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x12 - A Tale of Two Puppies ~ Okey-Dokey Jones and the Ring of the Sunbeams.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:22:12.83, start: 0.000000, bitrate: 1227 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 560x416 [SAR 1:1 DAR 35:26], 1106 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 108 kb/s
[09:52:52] batch: scanning D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x13 - Happy Taffy~Imagine That.avi
Input #0, avi, from 'D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x13 - Happy Taffy~Imagine That.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:22:06.60, start: 0.000000, bitrate: 841 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 480x368 [SAR 1:1 DAR 30:23], 779 kb/s, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, fltp, 51 kb/s
[09:52:52] scan: decoding previews for title 1 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x01 All Growed Up.avi)
[09:52:52] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=112232 Unknown (MP3) (2.0 ch)
[09:52:52] scan: 10 previews, 640x496, 23.976 fps, autocrop = 0/0/0/0, aspect 1.29:1, PAR 1:1
[09:52:52] scan: decoding previews for title 2 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x02 - Bow Wow Wedding Vows.avi)
[09:52:52] scan: audio 0x1: mp3float, rate=22050Hz, bitrate=52112 Unknown (MP3) (1.0 ch)
[09:52:52] scan: 10 previews, 508x384, 15.000 fps, autocrop = 0/0/0/0, aspect 1.32:1, PAR 1:1
[09:52:52] scan: decoding previews for title 3 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x03 Quiet Please ~ Early Retirement.avi)
[09:52:52] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=108056 Unknown (MP3) (2.0 ch)
[09:52:52] scan: 10 previews, 512x384, 23.976 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[09:52:52] scan: decoding previews for title 4 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x04 - The Doctor Is In~The Big Sneeze.avi)
[09:52:52] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:52:52] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/4/0/0, aspect 4:3, PAR 1:1
[09:52:52] scan: decoding previews for title 5 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x05 - Curse of the Werewuff.avi)
[09:52:52] scan: audio 0x1: mp3float, rate=22050Hz, bitrate=52048 Unknown (MP3) (1.0 ch)
[09:52:52] scan: 10 previews, 508x384, 15.000 fps, autocrop = 0/0/0/0, aspect 1.32:1, PAR 1:1
[09:52:52] scan: decoding previews for title 6 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x06 - The Fun Way Day~The Age Of Aquarium.avi)
[09:52:52] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:52:53] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/4/0/0, aspect 4:3, PAR 1:1
[09:52:53] scan: decoding previews for title 7 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x07 - Daddy's Little Helpers~Hello Dilly.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=22050Hz, bitrate=52352 Unknown (MP3) (1.0 ch)
[09:52:53] scan: 10 previews, 480x368, 15.000 fps, autocrop = 0/2/0/6, aspect 1.30:1, PAR 1:1
[09:52:53] scan: decoding previews for title 8 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x08 - Cythia Comes Alive - Trading Phil.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=44100Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:52:53] scan: 10 previews, 480x360, 30.000 fps, autocrop = 0/2/0/0, aspect 4:3, PAR 1:1
[09:52:53] scan: decoding previews for title 9 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x09 -  (Special 4) - Murmur on the Ornery Express.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:52:53] scan: 10 previews, 640x480, 23.976 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[09:52:53] scan: decoding previews for title 10 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x10 - Back To School ~ Sweet Dreams.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:52:53] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/4/0/0, aspect 4:3, PAR 1:1
[09:52:53] scan: decoding previews for title 11 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x11 - A Step At A Time~Angelica's Assistant.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[09:52:53] scan: 10 previews, 640x480, 29.970 fps, autocrop = 0/4/0/0, aspect 4:3, PAR 1:1
[09:52:53] scan: decoding previews for title 12 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x12 - A Tale of Two Puppies ~ Okey-Dokey Jones and the Ring of the Sunbeams.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=108728 Unknown (MP3) (2.0 ch)
[09:52:53] scan: 10 previews, 560x416, 23.976 fps, autocrop = 0/0/0/0, aspect 4:3, PAR 1:1
[09:52:53] scan: decoding previews for title 13 (D:\Needs Transcoding\Tv Shows\Rugrats\Rugrats Season 8\Rugrats - 8x13 - Happy Taffy~Imagine That.avi)
[09:52:53] scan: audio 0x1: mp3float, rate=22050Hz, bitrate=51072 Unknown (MP3) (1.0 ch)
[09:52:53] scan: 10 previews, 480x368, 15.000 fps, autocrop = 16/16/0/0, aspect 1.30:1, PAR 1:1
[09:52:53] libhb: scan thread found 13 valid title(s)

 # Processing Scan Information ...


 # Scan Finished ...


Post Reply